Skip to content

Commit 5e6c4a2

Browse files
committed
fix justifier controller never working oops
1 parent 96cc3f8 commit 5e6c4a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BizHawk.Emulation.Cores/Consoles/Nintendo/BSNES/BsnesControllers.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ public short GetState(IController controller, int index, int id)
348348
{
349349
0 => (short) controller.AxisValue($"{index}Justifier X"),
350350
1 => (short) controller.AxisValue($"{index}Justifier Y"),
351-
2 or 3 => (short) (controller.IsPressed(Definition.BoolButtons[index * 2 + id]) ? 1 : 0),
351+
2 or 3 => (short) (controller.IsPressed(Definition.BoolButtons[index * 2 + id - 2]) ? 1 : 0),
352352
_ => 0
353353
};
354354
}

0 commit comments

Comments
 (0)