HLE needs to be reset after kernel shutdown

This commit is contained in:
mattweb28 committed 2013-05-14 20:37:20 +08:00
1 parent e08ea97eff
commit 1b87f5667f
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();