mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-03 07:11:49 +00:00
better ...
svn-id: r5808
This commit is contained in:
parent
6365707048
commit
c60306cc44
@ -1501,13 +1501,12 @@ void SimonState::o_quit_if_user_presses_y()
|
||||
for (;;) {
|
||||
_system->poll_event(&event);
|
||||
if (event.event_code == OSystem::EVENT_KEYDOWN) {
|
||||
event.kbd.keycode = toupper(event.kbd.keycode);
|
||||
// FIXME Arisme : better than being blocked ?
|
||||
if (event.kbd.keycode == 'Y' ||
|
||||
event.kbd.keycode == 'O' || /* french */
|
||||
event.kbd.keycode == 'J' /* german I guess :) */)
|
||||
if (event.kbd.keycode == 'y' ||
|
||||
event.kbd.keycode == 'o' || /* french */
|
||||
event.kbd.keycode == 'j' /* german I guess :) */)
|
||||
_system->quit();
|
||||
else if (event.kbd.keycode == 'N')
|
||||
else if (event.kbd.keycode == 'n')
|
||||
break;
|
||||
}
|
||||
delay(10);
|
||||
|
Loading…
x
Reference in New Issue
Block a user