From 741046079c6bdd8477e4cf04562fc4e293ff1365 Mon Sep 17 00:00:00 2001 From: Ziemas Date: Fri, 24 Jan 2025 05:10:15 +0100 Subject: [PATCH] DebugInterface: isValidAddres on physical Mask off the segment bits --- pcsx2/DebugTools/DebugInterface.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/pcsx2/DebugTools/DebugInterface.cpp b/pcsx2/DebugTools/DebugInterface.cpp index 9010787c90..189a9b5f43 100644 --- a/pcsx2/DebugTools/DebugInterface.cpp +++ b/pcsx2/DebugTools/DebugInterface.cpp @@ -967,6 +967,7 @@ std::string R3000DebugInterface::disasm(u32 address, bool simplify) bool R3000DebugInterface::isValidAddress(u32 addr) { + addr &= 0x1fffffff; if (addr >= 0x1D000000 && addr < 0x1E000000) { return true;