mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
split memories away from Pico
saves ~3k of code on ARM because Pico no longer crosses ldr limit
This commit is contained in:
parent
e64886365d
commit
88fd63ad10
30 changed files with 633 additions and 587 deletions
|
@ -1159,7 +1159,7 @@ static void bank_switch(int b)
|
|||
return;
|
||||
|
||||
bank = b << 20;
|
||||
if ((Pico.m.sram_reg & SRR_MAPPED) && bank == SRam.start) {
|
||||
if ((Pico.m.sram_reg & SRR_MAPPED) && bank == Pico.sv.start) {
|
||||
bank_map_handler();
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue