rama didn't like Exiting with esc key :p

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@25 a6443dda-0b58-4228-96e9-037be469359c
This commit is contained in:
cottonvibes 2008-08-14 11:22:23 +00:00 committed by Gregory Hainaut
parent 7e0d5646de
commit 4aa03c26bf
1 changed files with 11 additions and 7 deletions

View File

@ -620,22 +620,26 @@ void CALLBACK KeyEvent(keyEvent* ev)
}
#endif
/*
ClosePlugins();
SysClose();
//ReleasePlugins();
//needReset = 1;
//efile = 0;
//if( !UseGui ) {
//not using GUI and user just quit, so exit
exit(0);
//}
exit(0);*/
ClosePlugins();
if( !UseGui ) {
// not using GUI and user just quit, so exit
exit(0);
}
CreateMainWindow(SW_SHOWNORMAL);
RunGui();
nDisableSC = 0;
nDisableSC = 0;
break;
default:
GSkeyEvent(ev);
break;