CMakeLists fix, rebooting fix

This commit is contained in:
Henrik Rydgard committed 2012-11-06 22:04:00 +01:00
1 parent 83fb5e96de
commit 00fc7754c6
4 files changed
+8 -1

No files matched your search

+3
View File
@@ -476,6 +476,9 @@ u32 __KernelGetModuleGP(SceUID module)
bool __KernelLoadExec(const char *filename, SceKernelLoadExecParam *param, std::string *error_string)
{
// Wipe kernel here, loadexec should reset the entire system
if (__KernelIsRunning())
__KernelShutdown();
__KernelInit();
PSPFileInfo info = pspFileSystem.GetFileInfo(filename);