mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
7e0d5646de
commit
4aa03c26bf
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue