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 #endif
/*
ClosePlugins(); ClosePlugins();
SysClose(); SysClose();
//ReleasePlugins(); //ReleasePlugins();
//needReset = 1; //needReset = 1;
//efile = 0; //efile = 0;
exit(0);*/
//if( !UseGui ) {
//not using GUI and user just quit, so exit ClosePlugins();
exit(0);
//} if( !UseGui ) {
// not using GUI and user just quit, so exit
exit(0);
}
CreateMainWindow(SW_SHOWNORMAL); CreateMainWindow(SW_SHOWNORMAL);
RunGui(); RunGui();
nDisableSC = 0; nDisableSC = 0;
break; break;
default: default:
GSkeyEvent(ev); GSkeyEvent(ev);
break; break;