mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 18:23:43 +01:00
Rename the get-memory-pointer functions to make it clear where CPU exceptions can happen.
This commit is contained in:
1 parent
e9a3449ede
commit
c5e4d0d90d
53 files changed
+224
-224
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user