mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
6d478021f9
commit
c0a6e21599
|
@ -700,7 +700,8 @@ bool R5900DebugInterface::isValidAddress(u32 addr)
|
||||||
case 0xA:
|
case 0xA:
|
||||||
case 0xB:
|
case 0xB:
|
||||||
// [ 8000_0000 - BFFF_FFFF ] kernel
|
// [ 8000_0000 - BFFF_FFFF ] kernel
|
||||||
return true;
|
if (lopart >= 0xFC00000)
|
||||||
|
return true;
|
||||||
case 0xF:
|
case 0xF:
|
||||||
// [ 8000_0000 - BFFF_FFFF ] IOP or kernel stack
|
// [ 8000_0000 - BFFF_FFFF ] IOP or kernel stack
|
||||||
if (lopart >= 0xfff8000)
|
if (lopart >= 0xfff8000)
|
||||||
|
|
Loading…
Reference in New Issue