From e7c47ef25d93dc2fdd92ec2c852001e48cf8a864 Mon Sep 17 00:00:00 2001 From: Michael Buckley Date: Wed, 15 Jan 2020 20:10:10 -0800 Subject: [PATCH] Mac: Report button presses for all 8 players, not just the first 2 --- macosx/mac-os.mm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/macosx/mac-os.mm b/macosx/mac-os.mm index 0ed92f3a..54ae7e27 100644 --- a/macosx/mac-os.mm +++ b/macosx/mac-os.mm @@ -2419,8 +2419,10 @@ static void ProcessInput (void) } } - ControlPadFlagsToS9xReportButtons(0, controlPad[0]); - ControlPadFlagsToS9xReportButtons(1, controlPad[1]); + for (int i = 0; i < MAC_MAX_PLAYERS; ++i) + { + ControlPadFlagsToS9xReportButtons(i, controlPad[i]); + } if (macControllerOption == SNES_JUSTIFIER_2) ControlPadFlagsToS9xPseudoPointer(controlPad[1]);