diff --git a/rpcs3/Emu/Cell/Modules/cellGame.cpp b/rpcs3/Emu/Cell/Modules/cellGame.cpp index 09397c0c69..52d3cf2209 100644 --- a/rpcs3/Emu/Cell/Modules/cellGame.cpp +++ b/rpcs3/Emu/Cell/Modules/cellGame.cpp @@ -961,6 +961,9 @@ error_code cellGameGetSizeKB(vm::ptr size) return CELL_GAME_ERROR_PARAM; } + // Always reset to 0 at start + *size = 0; + const auto prm = g_fxo->get(); const auto init = prm->init.access(); @@ -980,7 +983,6 @@ error_code cellGameGetSizeKB(vm::ptr size) if (!fs::exists(local_dir)) { - *size = 0; return CELL_OK; } else