mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-15 14:28:28 +00:00
Oops
svn-id: r11561
This commit is contained in:
parent
44eadc398c
commit
c3f23cbd48
@ -4793,11 +4793,12 @@ void SimonEngine::delay(uint amount) {
|
|||||||
while (_system->poll_event(&event)) {
|
while (_system->poll_event(&event)) {
|
||||||
switch (event.event_code) {
|
switch (event.event_code) {
|
||||||
case OSystem::EVENT_KEYDOWN:
|
case OSystem::EVENT_KEYDOWN:
|
||||||
|
/*
|
||||||
// First attempt at quick load/save keys support
|
// First attempt at quick load/save keys support
|
||||||
// For some reason Simon often walks into a location when loading
|
// For some reason Simon often walks into a location when loading
|
||||||
// and sometimes Simon isn't shown until he is moved.
|
// and sometimes Simon isn't shown until he is moved.
|
||||||
|
|
||||||
/* if (event.kbd.keycode >= '0' && event.kbd.keycode<='9'
|
if (event.kbd.keycode >= '0' && event.kbd.keycode<='9'
|
||||||
&& (event.kbd.flags == OSystem::KBD_ALT ||
|
&& (event.kbd.flags == OSystem::KBD_ALT ||
|
||||||
event.kbd.flags == OSystem::KBD_CTRL)) {
|
event.kbd.flags == OSystem::KBD_CTRL)) {
|
||||||
_saveLoadSlot = event.kbd.keycode - '0';
|
_saveLoadSlot = event.kbd.keycode - '0';
|
||||||
@ -4825,6 +4826,7 @@ void SimonEngine::delay(uint amount) {
|
|||||||
}
|
}
|
||||||
_saveLoadFlag = 0;
|
_saveLoadFlag = 0;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
*/
|
*/
|
||||||
if (event.kbd.flags == OSystem::KBD_CTRL) {
|
if (event.kbd.flags == OSystem::KBD_CTRL) {
|
||||||
if (event.kbd.keycode == 'f')
|
if (event.kbd.keycode == 'f')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user