mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-25 12:56:59 +01:00
Init joysticks
This commit is contained in:
parent
4322df80bf
commit
b972e6f71b
@ -110,7 +110,7 @@ extern "C" int main(int argc, char **argv)
|
||||
srand(tv.tv_usec);
|
||||
|
||||
// Init SDL
|
||||
if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_TIMER) < 0) {
|
||||
if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_TIMER | SDL_INIT_JOYSTICK) < 0) {
|
||||
fprintf(stderr, "Couldn't initialize SDL (%s)\n", SDL_GetError());
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user