1
0
Fork 0

fixed disable-joystick (for FreeBSD)

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@90
This commit is contained in:
Peter Veenstra 2002-07-29 10:05:40 +00:00
parent 398c8909cd
commit ce98694674

View file

@ -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;
};
};