Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed building with joysticks disabled

  • Loading branch information
slouken committed Nov 27, 2012
1 parent 59eb19b commit 5e1218f6372aa9d50622a3e0bb18643e61d82027
Showing with 0 additions and 3 deletions.
  1. +0 −3 src/joystick/dummy/SDL_sysjoystick.c
@@ -29,14 +29,11 @@
#include "../SDL_joystick_c.h"

/* Function to scan the system for joysticks.
* This function should set SDL_numjoysticks to the number of available
* joysticks. Joystick 0 should be the system default joystick.
* It should return 0, or -1 on an unrecoverable fatal error.
*/
int
SDL_SYS_JoystickInit(void)
{
SDL_numjoysticks = 0;
return (0);
}

0 comments on commit 5e1218f

Please sign in to comment.