gtk: close game properly when window is closed

This commit is contained in:
punkrockguy318 2013-03-01 22:06:41 +00:00
parent fe057f4bfd
commit ba8fb91eaa
1 changed files with 1 additions and 0 deletions

View File

@ -1292,6 +1292,7 @@ void quit ()
// this is not neccesary to be explicitly called
// it raises a GTK-Critical when its called
//gtk_main_quit();
FCEUI_CloseGame();
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