From 3dda640f8f9e081ed07d88bf2315b45ad223ce92 Mon Sep 17 00:00:00 2001 From: Dagen Brock Date: Wed, 20 Apr 2016 02:11:16 -0500 Subject: [PATCH] fix open-apple/PB0 bug that only occurred with SDL driver when joysticks are not plugged in. been looking for this way too long --- src/joystick_driver.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/joystick_driver.c b/src/joystick_driver.c index 875c1d5..7795257 100644 --- a/src/joystick_driver.c +++ b/src/joystick_driver.c @@ -1,7 +1,7 @@ /* GSport - an Apple //gs Emulator Copyright (C) 2016 - Dagen Brock - + Copyright (C) 2010 - 2013 by GSport contributors Based on the KEGS emulator written by and Copyright (C) 2003 Kent Dickey @@ -284,7 +284,6 @@ joystick_init() for(i = 0; i < 4; i++) { g_paddle_val[i] = 180; } - g_paddle_buttons = 1; g_joystick_type = JOYSTICK_TYPE_NATIVE_1; SDL_JoystickUpdate(); joystick_update(0.0);