X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=mappers%2F27.c;h=c3b6b366c1b1ad7ea01c43e8379cf280ea915b99;hp=e1afc229651892e173e626b5f6fa4981245c5461;hb=43725da7349c85fa13e828fdbf20cc7ac8d298d6;hpb=386f5371eb984fb9c2860c83e740890a75cd45c1 diff --git a/mappers/27.c b/mappers/27.c index e1afc22..c3b6b36 100644 --- a/mappers/27.c +++ b/mappers/27.c @@ -4,8 +4,8 @@ static uint32 regchr[9]; static DECLFW(Mapper27_write) { - int regnum; A&=0xF00F; + int regnum; if((A>=0xB000) && (A<=0xE003)) { regnum=((((A>>12)+1)&0x03)<<1)|((A&0x02)>>1); if(A&1)