Parcourir la source

Strip an extra '.' off of the HORI manufacturer name

Sam Lantinga il y a 4 ans
Parent
commit
3c07dd12f0
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      src/joystick/SDL_joystick.c

+ 1 - 0
src/joystick/SDL_joystick.c

@@ -1639,6 +1639,7 @@ SDL_CreateJoystickName(Uint16 vendor, Uint16 product, const char *vendor_name, c
     } replacements[] = {
         { "NVIDIA Corporation ", "" },
         { "Performance Designed Products", "PDP" },
+        { "HORI CO.,LTD.", "HORI" },
         { "HORI CO.,LTD", "HORI" },
     };
     const char *custom_name;