aboutsummaryrefslogtreecommitdiff
path: root/shell/input/sdl/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/input/sdl/input.c')
-rw-r--r--shell/input/sdl/input.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/input/sdl/input.c b/shell/input/sdl/input.c
index 6ddc761..a4ceba3 100644
--- a/shell/input/sdl/input.c
+++ b/shell/input/sdl/input.c
@@ -50,6 +50,9 @@ uint32_t S9xReadJoypad(int32_t port)
int32_t i;
uint32_t joypad = 0;
+ // Only 1P is supported
+ if (port > 0) return joypad;
+
keystate = SDL_GetKeyState(NULL);
while (SDL_PollEvent(&event))