From 94ecc4a1c8f0dc3315f086a02f1b12f56d86d2f6 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Wed, 27 Jun 2018 23:53:12 -0700 Subject: [PATCH] Always return 1 gamepad in single controller mode --- app/streaming/input.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/streaming/input.c b/app/streaming/input.c index e0063bd8..862343cc 100644 --- a/app/streaming/input.c +++ b/app/streaming/input.c @@ -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)) {