mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-13 10:18:40 +12:00
cellGameContentPermit: Fix missing PARAM.SFO writeback (#8934)
This commit is contained in:
parent
4fe2951509
commit
3372409590
1 changed files with 5 additions and 0 deletions
|
@ -567,6 +567,11 @@ error_code cellGameContentPermit(vm::ptr<char[CELL_GAME_PATH_MAX]> contentInfoPa
|
||||||
cellGame.error("cellGameContentPermit(): failed to initialize directory '%s' (%s)", dir, fs::g_tls_error);
|
cellGame.error("cellGameContentPermit(): failed to initialize directory '%s' (%s)", dir, fs::g_tls_error);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if (perm->can_create)
|
||||||
|
{
|
||||||
|
// Update PARAM.SFO
|
||||||
|
psf::save_object(fs::file(vfs::get(dir + "/PARAM.SFO"), fs::rewrite), perm->sfo);
|
||||||
|
}
|
||||||
|
|
||||||
// Cleanup
|
// Cleanup
|
||||||
perm->reset();
|
perm->reset();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue