small fixes

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1623 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee
2008-12-22 10:47:37 +00:00
parent a7c4697d22
commit ac825114c8
4 changed files with 12 additions and 6 deletions

View File

@ -107,8 +107,7 @@ SDLWindow::SDLWindow(int _iwidth, int _iheight) {
//init sdl video
if (SDL_Init(SDL_INIT_VIDEO) < 0) {
PanicAlert("Failed to init SDL");
//TODO : Display an error message
PanicAlert("Failed to init SDL: %s", SDL_GetError());
SDL_Quit();
// return NULL;
}