Reinitialize the GE on sceKernelLoadExec().

Mostly, reset the lists and draw completion, etc.

May be required for Capcom Classic Collection Reloaded to work.
This commit is contained in:
Unknown W. Brackets
2013-11-28 15:34:41 -08:00
parent a29f1a9192
commit 435115441d
6 changed files with 27 additions and 9 deletions
+3
View File
@@ -47,6 +47,8 @@
#include "Core/HLE/sceIo.h"
#include "Core/HLE/KernelWaitHelpers.h"
#include "GPU/GPUState.h"
enum {
PSP_THREAD_ATTR_USER = 0x80000000
};
@@ -1223,6 +1225,7 @@ bool __KernelLoadExec(const char *filename, u32 paramPtr, std::string *error_str
//HLE needs to be reset here
HLEShutdown();
HLEInit();
GPU_Reinitialize();
}
__KernelModuleInit();