add quick luma detection getinfo
This commit is contained in:
@@ -83,6 +83,7 @@ Result GetSystemInfoHook(s64 *out, s32 type, s32 param)
|
||||
break;
|
||||
|
||||
default:
|
||||
*out = 0;
|
||||
res = 0xF8C007F4; // not implemented
|
||||
break;
|
||||
}
|
||||
@@ -105,13 +106,16 @@ Result GetSystemInfoHook(s64 *out, s32 type, s32 param)
|
||||
*out = L2C_CTRL & 1;
|
||||
break;
|
||||
default:
|
||||
*out = 0;
|
||||
res = 0xF8C007F4;
|
||||
break;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
*out = 0;
|
||||
res = 0xF8C007F4;
|
||||
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -128,7 +132,10 @@ Result GetSystemInfoHook(s64 *out, s32 type, s32 param)
|
||||
if((u32)param <= getNumberOfCores())
|
||||
*out = L1MMUTableAddrs[param - 1];
|
||||
else
|
||||
{
|
||||
*out = 0;
|
||||
res = 0xF8C007F4;
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
@@ -136,6 +143,13 @@ Result GetSystemInfoHook(s64 *out, s32 type, s32 param)
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
case 0x20000:
|
||||
{
|
||||
*out = 0;
|
||||
return 1;
|
||||
}
|
||||
|
||||
default:
|
||||
GetSystemInfo(out, type, param);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user