mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 08:11:51 +00:00
cellGameContentPermit: Fix missing PARAM.SFO writeback (#8934)
This commit is contained in:
parent
4fe2951509
commit
3372409590
@ -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);
|
||||
}
|
||||
}
|
||||
else if (perm->can_create)
|
||||
{
|
||||
// Update PARAM.SFO
|
||||
psf::save_object(fs::file(vfs::get(dir + "/PARAM.SFO"), fs::rewrite), perm->sfo);
|
||||
}
|
||||
|
||||
// Cleanup
|
||||
perm->reset();
|
||||
|
Loading…
Reference in New Issue
Block a user