Fix the superscope controller for the new bsnes core

closes #2856
This commit is contained in:
Morilli 2021-07-14 22:43:09 +02:00
parent 58293dde9f
commit 308d34890c
1 changed files with 2 additions and 2 deletions

View File

@ -280,9 +280,9 @@ namespace BizHawk.Emulation.Cores.Nintendo.BSNES
{
_state[0] = (short) controller.AxisValue("0Scope X");
_state[1] = (short) controller.AxisValue("0Scope Y");
for (int i = 2; i < 6; i++)
for (int i = 0; i < 4; i++)
{
_state[i] = (short) (controller.IsPressed(_definition.BoolButtons[i]) ? 1 : 0);
_state[i + 2] = (short) (controller.IsPressed(_definition.BoolButtons[i]) ? 1 : 0);
}
}