Sfoglia il codice sorgente

Emscripten: Removed unused internal function.

Philipp Wiesemann 10 anni fa
parent
commit
052720f7d5
1 ha cambiato i file con 0 aggiunte e 6 eliminazioni
  1. 0 6
      src/joystick/emscripten/SDL_sysjoystick.c

+ 0 - 6
src/joystick/emscripten/SDL_sysjoystick.c

@@ -261,12 +261,6 @@ void SDL_SYS_JoystickDetect()
 {
 }
 
-// we need to poll to see if the gamepad state has changed
-SDL_bool SDL_SYS_JoystickNeedsPolling()
-{
-    return SDL_TRUE;
-}
-
 /* Function to get the device-dependent name of a joystick */
 const char *
 SDL_SYS_JoystickNameForDeviceIndex(int index)