mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 23:40:39 +00:00
parent
c4bebda182
commit
2da02f97c8
@ -1479,7 +1479,9 @@ bool __KernelLoadExec(const char *filename, u32 paramPtr, std::string *error_str
|
||||
u32 error;
|
||||
while (!loadedModules.empty()) {
|
||||
Module *module = kernelObjects.Get<Module>(*loadedModules.begin(), error);
|
||||
module->Cleanup();
|
||||
if (module) {
|
||||
module->Cleanup();
|
||||
}
|
||||
}
|
||||
|
||||
Replacement_Shutdown();
|
||||
|
Loading…
Reference in New Issue
Block a user