Rename the get-memory-pointer functions to make it clear where CPU exceptions can happen.

This commit is contained in:
Henrik Rydgård committed 2026-08-12 14:06:16 +02:00
1 parent e9a3449ede
commit c5e4d0d90d
53 files changed
+224 -224

No files matched your search

+1 -1
View File
@@ -117,7 +117,7 @@ u32 sceNetStrlen(const char* str) {
s32 sceNetMemcmp(u32 lhsPtr, u32 rhsPtr, u32 count) {
// Redirect that to libc
s32 res = std::memcmp(Memory::GetPointer(lhsPtr), Memory::GetPointer(rhsPtr), count);
s32 res = std::memcmp(Memory::GetPointerOrException(lhsPtr), Memory::GetPointerOrException(rhsPtr), count);
return hleLogDebug(Log::sceNet, res);
}