X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=mappers%2F42.c;h=6bab879036eed29de2b3a88f6651909cdb97f406;hb=890e37ba2b8ea1c7593dc05926d7431e3bd00bfb;hp=27002277d410bcc3ec15bbd4c2fa625dfb577b7b;hpb=c62d28102c77e19c291c78bf6bf7f0a81abd54b9;p=fceu.git diff --git a/mappers/42.c b/mappers/42.c index 2700227..6bab879 100644 --- a/mappers/42.c +++ b/mappers/42.c @@ -25,7 +25,8 @@ static DECLFW(Mapper42_write) { switch(A&0xe003) { - case 0xe000:mapbyte1[0]=V;ROM_BANK8(0x6000,V&0xF);break; + case 0xe000:mapbyte1[0]=V;ROM_BANK8(0x6000,V&0xF); + X6502_Rebase();break; case 0xe001:MIRROR_SET((V>>3)&1);break; case 0xe002:IRQa=V&2;if(!IRQa) IRQCount=0;break; }