mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-28 04:38:36 +01:00
Split GetPointer into two versions, to help with const correctness
This commit is contained in:
1 parent
d2a3918f5f
commit
e6403d7157
43 files changed
+169
-156
No files matched your search
@@ -33,7 +33,7 @@ static u32 sceAdler32(u32 adler, u32 data, u32 datalen) {
|
||||
}
|
||||
INFO_LOG(SCEMISC, "sceAdler32(adler=%08x, data=%08x, datalen=%08x)", adler, data, datalen);
|
||||
|
||||
u8 *buf = Memory::GetPointerUnchecked(data);
|
||||
u8 *buf = Memory::GetPointerWriteUnchecked(data);
|
||||
u32 ret = adler32(adler, buf, datalen);
|
||||
|
||||
return ret;
|
||||
|
||||
Reference in new issue
Block a user