Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed building with joysticks disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Nov 27, 2012
1 parent 59eb19b commit 5e1218f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/joystick/dummy/SDL_sysjoystick.c
Expand Up @@ -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);
}

Expand Down

0 comments on commit 5e1218f

Please sign in to comment.