mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-30 19:24:23 +01:00
More Read_U32 cleanup
This commit is contained in:
1 parent
3c7a323e99
commit
9396030f02
9 files changed
+57
-39
No files matched your search
@@ -293,7 +293,7 @@ bool parseExpression(const DebugInterface *debug, PostfixExpression& exp, u32& d
|
||||
}
|
||||
|
||||
void DisAsm(u32 pc, char *out, size_t outSize) {
|
||||
if (Memory::IsValidAddress(pc))
|
||||
if (Memory::IsValid4AlignedAddress(pc))
|
||||
MIPSDisAsm(Memory::Read_Opcode_JIT(pc), pc, out, outSize);
|
||||
else
|
||||
truncate_cpy(out, outSize, "-");
|
||||
|
||||
Reference in new issue
Block a user