Atari - implement player 2 button

This commit is contained in:
adelikat 2012-04-22 00:02:24 +00:00
parent 27239847c0
commit 1adec35f93
1 changed files with 4 additions and 0 deletions

View File

@ -832,6 +832,10 @@ namespace BizHawk.Emulation.Consoles.Atari
{
return (byte)((core.ReadControls1() & 0x08) != 0 ? 0x80 : 0x00);
}
else if (maskedAddr == 0x0D) // INPT5
{
return (byte)((core.ReadControls2() & 0x08) != 0 ? 0x80 : 0x00);
}
return 0x00;
}