nes-try fixing m207

This commit is contained in:
zeromus 2012-07-16 03:04:44 +00:00
parent 06c44cf040
commit cf5c972990
1 changed files with 3 additions and 17 deletions

View File

@ -159,23 +159,9 @@ namespace BizHawk.Emulation.Consoles.Nintendo
private void DoMirroring() private void DoMirroring()
{ {
if (mirror0 == false && mirror1 == false) int m0 = mirror0?1:0;
{ int m1 = mirror1?1:0;
SetMirrorType(EMirrorType.Horizontal); SetMirroring(m0, m0, m1, m1);
}
else if (mirror0 == true && mirror1 == false)
{
SetMirrorType(EMirrorType.Vertical);
}
else if (mirror0 == false && mirror1 == true)
{
SetMirrorType(EMirrorType.OneScreenA);
}
else
{
SetMirrorType(EMirrorType.OneScreenB);
}
} }
public override byte ReadPRG(int addr) public override byte ReadPRG(int addr)