Răsfoiți Sursa

Fixed build

Sam Lantinga 6 zile în urmă
părinte
comite
fe1918a47f
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      src/joystick/SDL_gamepad.c

+ 1 - 1
src/joystick/SDL_gamepad.c

@@ -3281,7 +3281,7 @@ bool SDL_ShouldIgnoreGamepad(Uint16 vendor_id, Uint16 product_id, Uint16 version
 
                 case GAMEPAD_BLACKLIST_ANYWHERE:
                     if (SDL_strstr(name, blacklist_word->str) != NULL) {
-                        if (SDL_startswith(name, "PG-") {
+                        if (SDL_startswith(name, "PG-")) {
                             // Ipega gamepads have modes with keyboard keys in addition to gamepad controls
                             break;
                         }