nes: vrc6: correct some problems with the most recent commit

This commit is contained in:
goyuken 2014-02-15 22:12:46 +00:00
parent c22e5e550e
commit 4a2f28d89f
1 changed files with 7 additions and 6 deletions

View File

@ -43,19 +43,20 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
{
case 0:
case 6:
case 7: // H-mirror
banknum >>= 1;
case 7: // H-mirror, 6677
bank = (byte)(banknum >> 1 | 6);
break;
case 2:
case 3:
case 4: // V-mirror
banknum &= 1;
case 4: // V-mirror, 6767
bank = (byte)(banknum | 6);
break;
case 1:
case 5: // 4 screen
case 5: // 4 screen, 4567
default:
bank = (byte)(banknum | 4);
break;
}
bank = (byte)(banknum + 4);
switch (b003)
{
case 0: