Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix cellGameDataCheckCreate2 #4832

Merged
merged 3 commits into from
Jul 1, 2018
Merged

Fix cellGameDataCheckCreate2 #4832

merged 3 commits into from
Jul 1, 2018

Conversation

Farseer2
Copy link
Contributor

Attempting to fix #4823

@@ -187,7 +187,7 @@ namespace psf

void save_object(const fs::file& stream, const psf::registry& psf)
{
std::vector<def_table_t> indices; indices.reserve(psf.size());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

without this change it works

@@ -479,7 +477,7 @@ error_code cellGameDataCheckCreate2(ppu_thread& ppu, u32 version, vm::cptr<char>
cbGet->sizeKB = CELL_GAMEDATA_SIZEKB_NOTCALC;
cbGet->sysSizeKB = 0;

psf::registry sfo = psf::load_object(fs::file(vfs::get(dir + "/PARAM.SFO")));
psf::registry sfo = psf::load_object(fs::file(vfs::get(dir + "/PARAM.SFO"), fs::read));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is placebo change (default parameter)

Its a default parameter
Copy link
Contributor

@Megamouse Megamouse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the game in question works fine now

@AniLeo AniLeo merged commit 5d3b0e7 into RPCS3:master Jul 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cellGameDataCheckCreate2 overwrites game data param.sfo with useless/empty data
4 participants