Merge pull request #1804 from mattweb28/loadexec-fix

HLE needs to be reset after kernel shutdown
This commit is contained in:
Henrik Rydgård committed 2013-05-14 06:04:53 -07:00
commit d228fa4f14
1 file changed
+5
+5
View File
@@ -677,7 +677,12 @@ bool __KernelLoadExec(const char *filename, SceKernelLoadExecParam *param, std::
{
// Wipe kernel here, loadexec should reset the entire system
if (__KernelIsRunning())
{
__KernelShutdown();
//HLE needs to be reset here
HLEShutdown();
HLEInit();
}
__KernelModuleInit();
__KernelInit();