moved clearing joystick state from closing to initializing joysticks
[rocksndiamonds.git] / src / libgame / system.c
index 2b283c1a0c5d6813b7b533d30a1c10b1c66f21d6..4d4c448f486755e90a03f97dcc6608d1d3ef1793 100644 (file)
@@ -1645,3 +1645,8 @@ boolean CheckJoystickOpened(int nr)
 {
   return SDLCheckJoystickOpened(nr);
 }
+
+void ClearJoystickState()
+{
+  SDLClearJoystickState();
+}