X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=mappers%2Fmmc2and4.c;h=1b23e49a86d21b9ad3c84569282b38320988e9e6;hp=1688d5790bf4c69e0cd83359cabcf0c2f78e6bb2;hb=c0bf6f9f02a2b6afb961a7e9195e2168d7e9cecf;hpb=c62d28102c77e19c291c78bf6bf7f0a81abd54b9 diff --git a/mappers/mmc2and4.c b/mappers/mmc2and4.c index 1688d57..1b23e49 100644 --- a/mappers/mmc2and4.c +++ b/mappers/mmc2and4.c @@ -31,7 +31,7 @@ static void FP_FASTAPASS(1) latchcheck(uint32 VAddr) h=VAddr>>8; - if(h>=0x20 || ((h&0xF)!=0xF)) + if(h>=0x20 || ((h&0xF)!=0xF)) return; l=VAddr&0xF0; @@ -67,11 +67,13 @@ static void FP_FASTAPASS(1) latchcheck(uint32 VAddr) DECLFW(Mapper9_write) // $Axxx { ROM_BANK8(0x8000,V); + X6502_Rebase(); } DECLFW(Mapper10_write) { ROM_BANK16(0x8000,V); + X6502_Rebase(); } DECLFW(Mapper9and10_write)