Intellivision fix controller ports

They are apparently reversed. This fixes numerous games.
This commit is contained in:
alyosha-tas 2016-12-10 18:56:35 -05:00 committed by GitHub
parent 3f3828455c
commit fc8ac3b190
1 changed files with 2 additions and 2 deletions

View File

@ -115,10 +115,10 @@ namespace BizHawk.Emulation.Cores.Intellivision
public void get_controller_state()
{
ushort port1 = ControllerDeck.ReadPort1(Controller);
_psg.Register[14] = (ushort)(0xFF - port1);
_psg.Register[15] = (ushort)(0xFF - port1);
ushort port2 = ControllerDeck.ReadPort2(Controller);
_psg.Register[15] = (ushort)(0xFF - port2);
_psg.Register[14] = (ushort)(0xFF - port2);
}
}
}