X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=boards%2Ftengen.c;h=510f9099a0dffbdd60a7165b67bb9896150a5a5a;hp=a4f33f527b151a433e71d2e22cd67645394e1f4e;hb=43725da7349c85fa13e828fdbf20cc7ac8d298d6;hpb=e2d0dd92bfad989cce4270fc0ac5a712476c7c50 diff --git a/boards/tengen.c b/boards/tengen.c index a4f33f5..510f909 100644 --- a/boards/tengen.c +++ b/boards/tengen.c @@ -37,7 +37,7 @@ static SFORMAT Rambo_StateRegs[]={ }; static void FP_FASTAPASS(2) (*setchr1wrap)(unsigned int A, unsigned int V); -static int nomirror; +//static int nomirror; static void FP_FASTAPASS(1) RAMBO1_IRQHook(int a) { @@ -104,7 +104,7 @@ static DECLFW(RAMBO1_write) switch(A&0xF001) { case 0xa000: mir=V&1; - if(!nomirror) +// if(!nomirror) setmirror(mir^1); break; case 0x8000: cmd = V; @@ -138,7 +138,7 @@ static DECLFW(RAMBO1_write) static void RAMBO1_Restore(int version) { Synco(); - if(!nomirror) +// if(!nomirror) setmirror(mir^1); } @@ -148,7 +148,7 @@ static void RAMBO1_init(void) for(x=0;x<11;x++) DRegs[x]=~0; cmd=mir=0; - if(!nomirror) +// if(!nomirror) setmirror(1); Synco(); GameHBIRQHook=RAMBO1_hb; @@ -166,10 +166,10 @@ static void FP_FASTAPASS(2) CHRWrap(unsigned int A, unsigned int V) void Mapper64_init(void) { setchr1wrap=CHRWrap; - nomirror=0; +// nomirror=0; RAMBO1_init(); } - +/* static int MirCache[8]; static unsigned int PPUCHRBus; @@ -196,3 +196,4 @@ void Mapper158_init(void) nomirror=1; RAMBO1_init(); } +*/