DebugTools: Properly Mark Addresses < 0xBFC00000 as Invalid

Fixes asserts and possible crashes in release when these addresses are accessed in the debugger.
This commit is contained in:
Ty Lamontagne 2024-04-06 17:34:06 -04:00 committed by refractionpcsx2
parent 6d478021f9
commit c0a6e21599
1 changed files with 2 additions and 1 deletions

View File

@ -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)