32x: some mapping corrections

This commit is contained in:
notaz 2013-08-19 03:02:36 +03:00
parent 8ce9c3a782
commit eb35ce1506
2 changed files with 14 additions and 13 deletions

View file

@ -3308,7 +3308,8 @@ static void *dr_get_pc_base(u32 pc, int is_slave)
}
else if ((pc & 0xc6000000) == 0x02000000) {
// ROM
ret = Pico.rom;
if ((pc & 0x3fffff) < Pico.romsize)
ret = Pico.rom;
mask = 0x3fffff;
}