mirror of
https://github.com/86Box/86Box.git
synced 2026-02-23 09:58:19 -07:00
Don't poll for joystick if none configured
This commit is contained in:
@@ -107,6 +107,8 @@ void joystick_process()
|
||||
{
|
||||
int c, d;
|
||||
|
||||
if (!joystick_type) return;
|
||||
|
||||
SDL_JoystickUpdate();
|
||||
for (c = 0; c < joysticks_present; c++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user