mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-04 21:33:58 +01:00
Kernel: Shutdown when module load fails.
This prevents us from trying to reinit next time, which can crash since we never finished initing in the first place.
This commit is contained in:
1 parent
7de4640f4f
commit
556b960355
1 file changed
+1
@@ -1626,6 +1626,7 @@ bool __KernelLoadExec(const char *filename, u32 paramPtr, std::string *error_str
|
||||
if (param_argp) delete[] param_argp;
|
||||
if (param_key) delete[] param_key;
|
||||
}
|
||||
__KernelShutdown();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user