mirror of
https://github.com/libretro/scummvm.git
synced 2024-11-28 03:40:36 +00:00
changed Shift-NUM shortcut (quicksave) to Alt-NUM to avoid problems on french keyboards
svn-id: r5756
This commit is contained in:
parent
613423037f
commit
c6672edb58
2
README
2
README
@ -288,7 +288,7 @@ Command Line Options:
|
||||
|
||||
In game Hot Keys:
|
||||
-----------------
|
||||
Ctrl 0-9 and Shift 0-9 - load and save games
|
||||
Ctrl 0-9 and Alt 0-9 - load and save games
|
||||
Ctrl-Alt 1-7 - cycles between graphics filters
|
||||
Ctrl-z OR Alt-x - quits
|
||||
Ctrl-f - runs in fast mode.
|
||||
|
@ -1419,11 +1419,11 @@ void Scumm::waitForTimer(int msec_delay) {
|
||||
switch(event.event_code) {
|
||||
case OSystem::EVENT_KEYDOWN:
|
||||
if (event.kbd.keycode >= '0' && event.kbd.keycode<='9'
|
||||
&& (event.kbd.flags == OSystem::KBD_SHIFT ||
|
||||
&& (event.kbd.flags == OSystem::KBD_ALT ||
|
||||
event.kbd.flags == OSystem::KBD_CTRL)) {
|
||||
_saveLoadSlot = event.kbd.keycode - '0';
|
||||
sprintf(_saveLoadName, "Quicksave %d", _saveLoadSlot);
|
||||
_saveLoadFlag = (event.kbd.flags == OSystem::KBD_SHIFT) ? 1 : 2;
|
||||
_saveLoadFlag = (event.kbd.flags == OSystem::KBD_ALT) ? 1 : 2;
|
||||
_saveLoadCompatible = false;
|
||||
} else if (event.kbd.flags==OSystem::KBD_CTRL) {
|
||||
if (event.kbd.keycode=='f')
|
||||
|
Loading…
Reference in New Issue
Block a user