Rewrite callback handling, part 1. All sorts of other fixes too.

This commit is contained in:
Henrik Rydgard committed 2012-11-06 15:46:46 +01:00
1 parent 91eeed6408
commit c61d10363a
26 files changed
+642 -426

No files matched your search

+4 -2
View File
@@ -228,6 +228,7 @@ void sceKernelAllocateFplCB()
RETURN(0);
} else {
// TODO: Should block and process callbacks!
__KernelCheckCallbacks();
RETURN(0);
}
@@ -546,6 +547,7 @@ void sceKernelAllocateVplCB()
else
{
ERROR_LOG(HLE, "sceKernelAllocateVplCB FAILURE");
__KernelCheckCallbacks();
RETURN(-1);
}
}
@@ -633,8 +635,8 @@ const HLEFunction SysMemUserForUser[] =
{0x315AD3A0,0,"sceKernelSetCompiledSdkVersion380_390"},
{0xEBD5C3E6,0,"sceKernelSetCompiledSdkVersion395"},
{0xf77d77cb,sceKernelSetCompilerVersion,"sceKernelSetCompilerVersion"},
{0x35669d4c,0,"SysMemUserForUser_35669d4c"},
{0x1b4217bc,0,"SysMemUserForUser_1b4217bc"},
{0x35669d4c,0,"sceKernelSetCompiledSdkVersion600_602"}, //??
{0x1b4217bc,0,"sceKernelSetCompiledSdkVersion603_605"},
};