1
0
Эх сурвалжийг харах

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

Sam Lantinga 5 жил өмнө
parent
commit
3c07dd12f0

+ 1 - 0
src/joystick/SDL_joystick.c

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