apps,fceux: support exit with Q key

This commit is contained in:
Zihao Yu 2020-07-09 16:54:43 +08:00
parent c61900dce9
commit 326d9da31d
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ static void KeyboardCommands ()
int keydown = (key & KEYDOWN_MASK) != 0;
assert(keycode < 256);
g_keyState[keycode] = keydown;
if (keycode == _KEY_ESCAPE) _halt(0);
if (keycode == _KEY_ESCAPE || keycode == _KEY_Q) _halt(0);
} while (keycode != _KEY_NONE);
// Toggle throttling