mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-04-27 04:21:42 +00:00
Force gNumJoys to 2 in controller_update_gamepad_choices[build]
Set gNumJoys to 2 regardless of the number of joysticks detected.
This commit is contained in:
parent
5524ce52e5
commit
3a32601087
1 changed files with 1 additions and 0 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue