sdl: fix last commit correctly
This commit is contained in:
parent
0aef8cea7d
commit
2f992d1d0e
|
@ -1089,6 +1089,9 @@ void quit ()
|
|||
// it raises a GTK-Critical when its called
|
||||
//gtk_main_quit();
|
||||
FCEUI_Kill();
|
||||
// LoadGame() checks for an IP and if it finds one begins a network session
|
||||
// clear the NetworkIP field so this doesn't happen unintentionally
|
||||
g_config->setOption("SDL.NetworkIP", "");
|
||||
SDL_Quit();
|
||||
exit(0);
|
||||
}
|
||||
|
@ -1505,9 +1508,6 @@ void closeGame()
|
|||
GdkColor bg = {0, 0, 0, 0};
|
||||
gtk_widget_modify_bg(evbox, GTK_STATE_NORMAL, &bg);
|
||||
CloseGame();
|
||||
// LoadGame() checks for an IP and if it finds one begins a network session
|
||||
// clear the NetworkIP field so this doesn't happen unintentionally
|
||||
g_config->setOption("SDL.NetworkIP", "");
|
||||
}
|
||||
|
||||
void loadGame ()
|
||||
|
|
Loading…
Reference in New Issue