fixed disable-joystick (for FreeBSD)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@90
This commit is contained in:
parent
398c8909cd
commit
ce98694674
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue