More Read_U32 cleanup

This commit is contained in:
Henrik Rydgård committed 2026-08-11 09:08:52 +02:00
1 parent 3c7a323e99
commit 9396030f02
9 files changed
+57 -39

No files matched your search

+1 -1
View File
@@ -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, "-");