Skip to content

Commit

Permalink
DebugInterface: isValidAddres on physical
Browse files Browse the repository at this point in the history
Mask off the segment bits
  • Loading branch information
Ziemas committed Jan 24, 2025
1 parent df7646f commit ba5a9ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pcsx2/DebugTools/DebugInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ba5a9ef

Please sign in to comment.