mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-06 08:09:19 +00:00
small fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1623 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
a7c4697d22
commit
ac825114c8
4 changed files with 12 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue