1
0
Fork 0

Show SDL Error message

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@93
This commit is contained in:
Sjoerd van der Berg 2002-07-29 13:17:06 +00:00
parent 0b0fb71a5e
commit 9e6f36a09b

View file

@ -485,7 +485,7 @@ int main(int argc, char* argv[]) {
#endif
) < 0 ) {
E_Exit("Can't init SDL");
E_Exit("Can't init SDL %s",SDL_GetError());
}
GFX_StartUp();
/* Init all the dosbox subsystems */
@ -497,9 +497,9 @@ 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 */
/* Start dosbox up */
DOSBOX_StartUp();
}
catch (Bitu e) {
@ -510,4 +510,4 @@ int main(int argc, char* argv[]) {
return 0;
};
};