mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 10:43:44 +01:00
UWP buildfix, tweaks and de-clauding
This commit is contained in:
1 parent
e9cdb2b20f
commit
9205eb642a
7 files changed
+15
-26
No files matched your search
@@ -1679,7 +1679,7 @@ static u32 SysMemUserForUser_D8DE5C1E() {
|
||||
// free size, see sceKernelMaxFreeMemSize above) of the user memory partition. Was previously
|
||||
// an unconditional `return 0` - real callers doing size-based decisions (e.g. "is there enough
|
||||
// memory to enable feature X") would see 0 total memory instead of a real, sane value.
|
||||
static u32 SysMemUserForUser_ACBD88CA() {
|
||||
static u32 sceKernelTotalMemSize() {
|
||||
return hleLogDebug(Log::sceKernel, PSP_GetUserMemoryEnd() - PSP_GetUserMemoryBase());
|
||||
}
|
||||
|
||||
@@ -2116,7 +2116,7 @@ const HLEFunction SysMemUserForUser[] = {
|
||||
{0X358CA1BB, &WrapI_I<sceKernelSetCompiledSdkVersion606>, "sceKernelSetCompiledSdkVersion606", 'i', "i" },
|
||||
{0XFC114573, &WrapI_V<sceKernelGetCompiledSdkVersion>, "sceKernelGetCompiledSdkVersion", 'i', "" },
|
||||
{0X2A3E5280, nullptr, "sceKernelQueryMemoryInfo", '?', "" },
|
||||
{0XACBD88CA, &WrapU_V<SysMemUserForUser_ACBD88CA>, "SysMemUserForUser_ACBD88CA", 'x', "" },
|
||||
{0XACBD88CA, &WrapU_V<sceKernelTotalMemSize>, "sceKernelTotalMemSize", 'x', "" },
|
||||
{0X945E45DA, &WrapU_V<SysMemUserForUser_945E45DA>, "SysMemUserForUser_945E45DA", 'x', "" },
|
||||
{0XA6848DF8, nullptr, "sceKernelSetUsersystemLibWork", '?', "" },
|
||||
{0X6231A71D, nullptr, "sceKernelSetPTRIG", '?', "" },
|
||||
|
||||
Reference in new issue
Block a user