mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 00:33:34 +01:00
Add sceKernelSetCompiledSdkVersion401_402 (suggested by Xele02) and wrapped two unload moudles
This commit is contained in:
1 parent
be98bad49b
commit
8cb87924b3
2 files changed
+41
-16
No files matched your search
@@ -599,10 +599,6 @@ void sceKernelSetCompiledSdkVersion500_505(int sdkVersion)
|
||||
{
|
||||
int sdkMainVersion = sdkVersion & 0xFFFF0000;
|
||||
if(sdkMainVersion == 0x5000000
|
||||
|| sdkMainVersion == 0x5010000
|
||||
|| sdkMainVersion == 0x5020000
|
||||
|| sdkMainVersion == 0x5030000
|
||||
|| sdkMainVersion == 0x5040000
|
||||
|| sdkMainVersion == 0x5050000)
|
||||
{
|
||||
sdkVersion_ = sdkVersion;
|
||||
@@ -615,6 +611,22 @@ void sceKernelSetCompiledSdkVersion500_505(int sdkVersion)
|
||||
return;
|
||||
}
|
||||
|
||||
void sceKernelSetCompiledSdkVersion401_402(int sdkVersion)
|
||||
{
|
||||
int sdkMainVersion = sdkVersion & 0xFFFF0000;
|
||||
if(sdkMainVersion == 0x4010000
|
||||
|| sdkMainVersion == 0x4020000)
|
||||
{
|
||||
sdkVersion_ = sdkVersion;
|
||||
flags_ |= SCE_KERNEL_HASCOMPILEDSDKVERSION;
|
||||
}
|
||||
else
|
||||
{
|
||||
ERROR_LOG(HLE,"sceKernelSetCompiledSdkVersion401_402 unknown SDK : %x\n",sdkVersion);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
void sceKernelSetCompiledSdkVersion507(int sdkVersion)
|
||||
{
|
||||
int sdkMainVersion = sdkVersion & 0xFFFF0000;
|
||||
@@ -920,6 +932,7 @@ const HLEFunction SysMemUserForUser[] = {
|
||||
{0x342061E5,&WrapV_I<sceKernelSetCompiledSdkVersion370>,"sceKernelSetCompiledSdkVersion370"},
|
||||
{0x315AD3A0,&WrapV_I<sceKernelSetCompiledSdkVersion380_390>,"sceKernelSetCompiledSdkVersion380_390"},
|
||||
{0xEBD5C3E6,&WrapV_I<sceKernelSetCompiledSdkVersion395>,"sceKernelSetCompiledSdkVersion395"},
|
||||
{0x057E7380,&WrapV_I<sceKernelSetCompiledSdkVersion401_402>,"sceKernelSetCompiledSdkVersion401_402"},
|
||||
{0xf77d77cb,&WrapV_I<sceKernelSetCompilerVersion>,"sceKernelSetCompilerVersion"},
|
||||
{0x91de343c,&WrapV_I<sceKernelSetCompiledSdkVersion500_505>,"sceKernelSetCompiledSdkVersion500_505"},
|
||||
{0x7893f79a,&WrapV_I<sceKernelSetCompiledSdkVersion507>,"sceKernelSetCompiledSdkVersion507"},
|
||||
|
||||
Reference in new issue
Block a user