mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
32x: some mapping corrections
This commit is contained in:
parent
8ce9c3a782
commit
eb35ce1506
2 changed files with 14 additions and 13 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue