X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=boards%2Fsuper24.c;h=7cf0646e2db3d16eaefeefdafe7014d1f461d622;hp=64af337d78ce8eb5f0b56ee1ee1c59d0b3a0990d;hb=c0bf6f9f02a2b6afb961a7e9195e2168d7e9cecf;hpb=c62d28102c77e19c291c78bf6bf7f0a81abd54b9 diff --git a/boards/super24.c b/boards/super24.c index 64af337..7cf0646 100644 --- a/boards/super24.c +++ b/boards/super24.c @@ -56,7 +56,7 @@ static void swsetchr2(uint32 A, uint32 V) else { //V&=masko1[sizer&7]>>1; - V|=bigbank2*4; + V|=bigbank2*4; setchr2r((V/256)&15,A,V); } } @@ -117,6 +117,7 @@ static INLINE void FixMMC3PRG(int V) swsetprg8(0x8000,DRegBuf[6]); swsetprg8(0xC000,~1); } + X6502_Rebase(); } static INLINE void FixMMC3CHR(int V) @@ -157,8 +158,10 @@ static DECLFW(Super24hiwrite) case 5: swsetchr1(cbase^0x1C00,V); break; case 6: if (MMC3_cmd&0x40) swsetprg8(0xC000,V); else swsetprg8(0x8000,V); + X6502_Rebase(); break; case 7: swsetprg8(0xA000,V); + X6502_Rebase(); break; } }