fix justifier controller never working oops

This commit is contained in:
Morilli 2022-12-06 19:42:30 +01:00
parent 96cc3f8745
commit 5e6c4a2bbd
1 changed files with 1 additions and 1 deletions

View File

@ -348,7 +348,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.BSNES
{
0 => (short) controller.AxisValue($"{index}Justifier X"),
1 => (short) controller.AxisValue($"{index}Justifier Y"),
2 or 3 => (short) (controller.IsPressed(Definition.BoolButtons[index * 2 + id]) ? 1 : 0),
2 or 3 => (short) (controller.IsPressed(Definition.BoolButtons[index * 2 + id - 2]) ? 1 : 0),
_ => 0
};
}