Mapper 235 - oops, forgot about mirroring

This commit is contained in:
adelikat 2015-08-09 15:08:36 -04:00
parent 203a0aa773
commit 9237b894f9
1 changed files with 11 additions and 4 deletions

View File

@ -67,13 +67,20 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
{
if ((_reg & 0x400) > 0)
{
// TODO
SetMirrorType(EMirrorType.Horizontal); // TODO: which one is which?
SetMirrorType(EMirrorType.Horizontal);
}
else
{
// TODO
SetMirrorType(EMirrorType.Vertical);
int type = ((_reg >> 13) & 1) ^ 1;
if (type == 0)
{
SetMirrorType(EMirrorType.Horizontal);
}
else
{
SetMirrorType(EMirrorType.Vertical);
}
}
}
}