From 3a326010871bc6e3fee1df36735ceb17523dfe9d Mon Sep 17 00:00:00 2001 From: Isaac0-dev <62234577+Isaac0-dev@users.noreply.github.com> Date: Mon, 22 Dec 2025 13:12:21 +1000 Subject: [PATCH] Force gNumJoys to 2 in controller_update_gamepad_choices[build] Set gNumJoys to 2 regardless of the number of joysticks detected. --- src/pc/controller/controller_system.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pc/controller/controller_system.c b/src/pc/controller/controller_system.c index 729c5709d..e150a89bc 100644 --- a/src/pc/controller/controller_system.c +++ b/src/pc/controller/controller_system.c @@ -44,6 +44,7 @@ void controller_update_gamepad_choices() { gNumJoys = SDL_NumJoysticks(); if (gNumJoys <= 0) { gNumJoys = 1; } if (gNumJoys > MAX_GAMEPADS) { gNumJoys = MAX_GAMEPADS; } + gNumJoys = 2; for (int i = 0; i < gNumJoys; i++) { gGamepadChoices[i] = gGamepadChoicesBuffer[i];