DebugInterface: Try to show the kernel memory mappings, again

This commit is contained in:
Ty Lamontagne 2024-09-18 12:26:34 -04:00 committed by Ty
parent eb5ea6f64e
commit 0a0f99dd1b
1 changed files with 5 additions and 1 deletions

View File

@ -828,12 +828,16 @@ bool R5900DebugInterface::isValidAddress(u32 addr)
return true; return true;
break; break;
case 8: case 8:
case 9:
case 0xA: case 0xA:
if(lopart <= 0xFFFFF)
return true;
break;
case 9:
case 0xB: case 0xB:
// [ 8000_0000 - BFFF_FFFF ] kernel // [ 8000_0000 - BFFF_FFFF ] kernel
if (lopart >= 0xFC00000) if (lopart >= 0xFC00000)
return true; return true;
break;
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)