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 committed 2013-11-28 15:35:12 -08:00
1 parent a29f1a9192
commit 435115441d
6 files changed
+27 -9

No files matched your search

+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();