Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
nes: mapper 028: fix 32k modes (they don't behave like MMC1). of cour…
…se, there are still no mapper028 games or carts at all
  • Loading branch information
nattthebear committed Nov 6, 2012
1 parent ca8832e commit c217768
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions BizHawk.Emulation/Consoles/Nintendo/NES/Boards/Mapper028.cs
Expand Up @@ -61,18 +61,18 @@ void Sync()
break;
case 0x10:
case 0x14:
prglo = outb & ~2 | prg & 2;
prghi = outb & ~2 | prg & 2 | 1;
prglo = outb & ~2 | prg << 1 & 2;
prghi = outb & ~2 | prg << 1 & 2 | 1;
break;
case 0x20:
case 0x24:
prglo = outb & ~6 | prg & 6;
prghi = outb & ~6 | prg & 6 | 1;
prglo = outb & ~6 | prg << 1 & 6;
prghi = outb & ~6 | prg << 1 & 6 | 1;
break;
case 0x30:
case 0x34:
prglo = outb & ~14 | prg & 14;
prghi = outb & ~14 | prg & 14 | 1;
prglo = outb & ~14 | prg << 1 & 14;
prghi = outb & ~14 | prg << 1 & 14 | 1;
break;
// bottom fixed modes
case 0x08:
Expand Down

0 comments on commit c217768

Please sign in to comment.