X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=mappers%2F246.c;h=d36b2771d81e8fd4c3db2e91faff58b48e8419ae;hp=42613fc1095ba9e188cbd776a587cd84401f88dc;hb=c0bf6f9f02a2b6afb961a7e9195e2168d7e9cecf;hpb=4e1934c1ee3a43796e68edc66b3c3f8e079caf7c diff --git a/mappers/246.c b/mappers/246.c index 42613fc..d36b277 100644 --- a/mappers/246.c +++ b/mappers/246.c @@ -25,10 +25,14 @@ DECLFW(Mapper246_write) { switch(A&0xF007) { - case 0x6000:ROM_BANK8(0x8000,V);break; - case 0x6001:ROM_BANK8(0xA000,V);break; - case 0x6002:ROM_BANK8(0xC000,V);break; - case 0x6003:ROM_BANK8(0xE000,V);break; + case 0x6000:ROM_BANK8(0x8000,V); + X6502_Rebase();break; + case 0x6001:ROM_BANK8(0xA000,V); + X6502_Rebase();break; + case 0x6002:ROM_BANK8(0xC000,V); + X6502_Rebase();break; + case 0x6003:ROM_BANK8(0xE000,V); + X6502_Rebase();break; case 0x6004:VROM_BANK2(0x0000,V);break; case 0x6005:VROM_BANK2(0x0800,V);break; case 0x6006:VROM_BANK2(0x1000,V);break;