소스 검색

joystick: Add missing comma in joystick drivers list

Without this comma it is impossible to enable both the Vita and Dummy
drivers at the same time.

Signed-off-by: Paul Cercueil <[email protected]>
Paul Cercueil 4 년 전
부모
커밋
f3cf019ecb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/joystick/SDL_joystick.c

+ 1 - 1
src/joystick/SDL_joystick.c

@@ -96,7 +96,7 @@ static SDL_JoystickDriver *SDL_joystick_drivers[] = {
     &SDL_VIRTUAL_JoystickDriver,
     &SDL_VIRTUAL_JoystickDriver,
 #endif
 #endif
 #ifdef SDL_JOYSTICK_VITA
 #ifdef SDL_JOYSTICK_VITA
-    &SDL_VITA_JoystickDriver
+    &SDL_VITA_JoystickDriver,
 #endif
 #endif
 #if defined(SDL_JOYSTICK_DUMMY) || defined(SDL_JOYSTICK_DISABLED)
 #if defined(SDL_JOYSTICK_DUMMY) || defined(SDL_JOYSTICK_DISABLED)
     &SDL_DUMMY_JoystickDriver
     &SDL_DUMMY_JoystickDriver