From 3ac16958b9e4c200011289bb92f3e73f8c70d476 Mon Sep 17 00:00:00 2001 From: Raimon Zamora Date: Thu, 19 Jan 2023 18:24:01 +0100 Subject: [PATCH] - [FIX] Removed unused variable, minor readjustment of code to avoid errors. --- mini.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/mini.cpp b/mini.cpp index 6bc2b72..fd69ab0 100644 --- a/mini.cpp +++ b/mini.cpp @@ -211,16 +211,16 @@ void destroyDisplay() { void initGamePad() { const int num_joysticks = SDL_NumJoysticks(); - if (num_joysticks==0) return; - int gamepad_num=-1; - for (int i=0; i=1) { + for (int i=0; i