nes-fix NINA-06

This commit is contained in:
zeromus 2011-09-25 00:21:19 +00:00
parent f808cd4009
commit afbd3e0ee3
1 changed files with 2 additions and 2 deletions

View File

@ -142,9 +142,9 @@ namespace BizHawk.Emulation.Consoles.Nintendo
{
case 0x0100: //$4100: [.CPP PCCC]
chr_bank_8k = (value & 7) | ((value >> 3) & 0x8);
chr_bank_8k = ((value >> 3) & 7);
chr_bank_8k &= chr_bank_mask_8k;
prg_bank_32k = ((value >> 3) & 7);
prg_bank_32k &= prg_bank_mask_32k;
prg_bank_32k &= chr_bank_mask_8k;
//if (mirror_control_enabled) SetMirrorType(value.Bit(7) ? EMirrorType.Vertical : EMirrorType.Horizontal);
//NES.LogLine("chr={0:X2}, prg={1:X2}, with val={2:X2}", chr_reg, prg_reg, value);
break;