mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-21 10:19:04 +02: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
@@ -29,7 +29,7 @@
|
||||
|
||||
static int scePauth_F7AA47F6(u32 srcPtr, int srcLength, u32 destLengthPtr, u32 workArea)
|
||||
{
|
||||
auto src = Memory::GetPointer(srcPtr);
|
||||
auto src = Memory::GetPointerWrite(srcPtr);
|
||||
auto key = Memory::GetPointer(workArea);
|
||||
|
||||
const auto decryptResult = pspDecryptPRX(src, src, srcLength, key);
|
||||
@@ -46,7 +46,7 @@ static int scePauth_F7AA47F6(u32 srcPtr, int srcLength, u32 destLengthPtr, u32 w
|
||||
|
||||
static int scePauth_98B83B5D(u32 srcPtr, int srcLength, u32 destLengthPtr, u32 workArea)
|
||||
{
|
||||
auto src = Memory::GetPointer(srcPtr);
|
||||
auto src = Memory::GetPointerWrite(srcPtr);
|
||||
auto key = Memory::GetPointer(workArea);
|
||||
|
||||
const auto decryptResult = pspDecryptPRX(src, src, srcLength, key);
|
||||
|
||||
Reference in new issue
Block a user