Debugger: Make EE kernel region accessible to debugger. (#2559)

Currently, none of the EE kernel is viewable from the debugger, which poses issues when debugging code that makes use of syscalls. This PR should allow the memory region 0x80000000 - 0x800FFFFF to have readable disassembly.
This commit is contained in:
PSISP 2018-11-08 17:17:30 -05:00 committed by lightningterror
parent b8b6a55952
commit 9e7b2ed153
1 changed files with 3 additions and 1 deletions

View File

@ -604,7 +604,9 @@ bool R5900DebugInterface::isValidAddress(u32 addr)
case 0xA:
case 0xB:
// [ 8000_0000 - BFFF_FFFF ] kernel
// return true;
// We only need to access the EE kernel (which is 1 MB large)
if (lopart < 0x100000)
return true;
break;
case 0xF:
// [ 8000_0000 - BFFF_FFFF ] IOP or kernel stack