mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-09 20:34:12 +00:00
CGE: Make ALT+X trigger quit() only on initial keypress
This commit is contained in:
parent
6d0147f13e
commit
51fd8ede7b
@ -72,7 +72,7 @@ bool Keyboard::getKey(Common::Event &event) {
|
||||
_vm->loadGameDialog();
|
||||
return false;
|
||||
case Common::KEYCODE_x:
|
||||
if (event.kbd.flags & Common::KBD_ALT) {
|
||||
if (event.type == Common::EVENT_KEYDOWN && (event.kbd.flags & Common::KBD_ALT)) {
|
||||
_vm->quit();
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user