Skip to content

Commit

Permalink
DebugTools: Properly Mark Addresses < 0xBFC00000 as Invalid
Browse files Browse the repository at this point in the history
Fixes asserts and possible crashes in release when these addresses are accessed in the debugger.
  • Loading branch information
F0bes committed Apr 6, 2024
1 parent 4fd1169 commit 708c25a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pcsx2/DebugTools/DebugInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,8 @@ bool R5900DebugInterface::isValidAddress(u32 addr)
case 0xA:
case 0xB:
// [ 8000_0000 - BFFF_FFFF ] kernel
return true;
if(lopart >= 0xFC00000)
return true;
case 0xF:
// [ 8000_0000 - BFFF_FFFF ] IOP or kernel stack
if (lopart >= 0xfff8000)
Expand Down

0 comments on commit 708c25a

Please sign in to comment.