mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
parent
c4bebda182
commit
2da02f97c8
1 changed files with 3 additions and 1 deletions
|
@ -1479,8 +1479,10 @@ bool __KernelLoadExec(const char *filename, u32 paramPtr, std::string *error_str
|
||||||
u32 error;
|
u32 error;
|
||||||
while (!loadedModules.empty()) {
|
while (!loadedModules.empty()) {
|
||||||
Module *module = kernelObjects.Get<Module>(*loadedModules.begin(), error);
|
Module *module = kernelObjects.Get<Module>(*loadedModules.begin(), error);
|
||||||
|
if (module) {
|
||||||
module->Cleanup();
|
module->Cleanup();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Replacement_Shutdown();
|
Replacement_Shutdown();
|
||||||
__KernelShutdown();
|
__KernelShutdown();
|
||||||
|
|
Loading…
Add table
Reference in a new issue