Always return 1 gamepad in single controller mode

This commit is contained in:
Cameron Gutman 2018-06-27 23:53:12 -07:00
parent 7d14b2a2be
commit 94ecc4a1c8

View file

@ -480,6 +480,11 @@ int SdlGetAttachedGamepadMask(void)
int count;
int mask;
if (!g_MultiController) {
// Player 1 is always present in non-MC mode
return 0x1;
}
count = mask = 0;
for (i = 0; i < SDL_NumJoysticks(); i++) {
if (SDL_IsGameController(i)) {