sdl: don't closeGame() on escape key when running in gui mode

This commit is contained in:
punkrockguy318 2012-01-28 23:48:34 +00:00
parent 7ba5f57311
commit eeff32db16
1 changed files with 8 additions and 3 deletions

View File

@ -628,9 +628,14 @@ KeyboardCommands()
// FCEUI_PowerNES();
//}
// TODO add comment i'm on the phone
if(noGui == 1)
{
if(_keyonly(Hotkeys[HK_QUIT])) {
CloseGame();
}
}
#ifdef _S9XLUA_H
if(_keyonly(Hotkeys[HK_LOAD_LUA])) {
std::string fname;