mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 19:45:20 +00:00
Always reset size in cellGameGetSizeKB
Reversed.
This commit is contained in:
parent
b31a0115b2
commit
f1e8739608
1 changed files with 3 additions and 1 deletions
|
@ -961,6 +961,9 @@ error_code cellGameGetSizeKB(vm::ptr<s32> size)
|
|||
return CELL_GAME_ERROR_PARAM;
|
||||
}
|
||||
|
||||
// Always reset to 0 at start
|
||||
*size = 0;
|
||||
|
||||
const auto prm = g_fxo->get<content_permission>();
|
||||
|
||||
const auto init = prm->init.access();
|
||||
|
@ -980,7 +983,6 @@ error_code cellGameGetSizeKB(vm::ptr<s32> size)
|
|||
|
||||
if (!fs::exists(local_dir))
|
||||
{
|
||||
*size = 0;
|
||||
return CELL_OK;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue