fix open-apple/PB0 bug that only occurred with SDL driver when joysticks are not plugged in.

been looking for this way too long
This commit is contained in:
Dagen Brock 2016-04-20 02:11:16 -05:00
parent 9163432d4b
commit 3dda640f8f

View File

@ -284,7 +284,6 @@ joystick_init()
for(i = 0; i < 4; i++) { for(i = 0; i < 4; i++) {
g_paddle_val[i] = 180; g_paddle_val[i] = 180;
} }
g_paddle_buttons = 1;
g_joystick_type = JOYSTICK_TYPE_NATIVE_1; g_joystick_type = JOYSTICK_TYPE_NATIVE_1;
SDL_JoystickUpdate(); SDL_JoystickUpdate();
joystick_update(0.0); joystick_update(0.0);