diff --git a/src/gui/sdlmain.cpp b/src/gui/sdlmain.cpp index 08e40d33..139f33e4 100644 --- a/src/gui/sdlmain.cpp +++ b/src/gui/sdlmain.cpp @@ -497,8 +497,8 @@ int main(int argc, char* argv[]) { sdl.joy=SDL_JoystickOpen(0); LOG_MSG("Using joystick %s with %d axes and %d buttons",SDL_JoystickName(0),SDL_JoystickNumAxes(sdl.joy),SDL_JoystickNumButtons(sdl.joy)); JOYSTICK_Enable(0,true); + } #endif - } /* Start dosbox up */ DOSBOX_StartUp(); } @@ -510,4 +510,4 @@ int main(int argc, char* argv[]) { return 0; -}; \ No newline at end of file +};