mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-13 23:43:34 +00:00
SUPERNOVA: Adds Alt-X as exit shortcut
This commit is contained in:
parent
cac51759f7
commit
eabcca3e89
@ -190,11 +190,10 @@ void SupernovaEngine::updateEvents() {
|
||||
(_event.kbd.flags & Common::KBD_CTRL)) {
|
||||
_console->attach();
|
||||
}
|
||||
if (_event.kbd.keycode == Common::KEYCODE_s) {
|
||||
for (int i = 0; i < _currentImage->_numSections; ++i) {
|
||||
_gm->drawImage(i);
|
||||
_system->updateScreen();
|
||||
}
|
||||
if (_event.kbd.keycode == Common::KEYCODE_x &&
|
||||
(_event.kbd.flags & Common::KBD_CTRL)) {
|
||||
// TODO: Draw exit box
|
||||
_gameRunning = false;
|
||||
}
|
||||
|
||||
_gm->processInput(_event.kbd);
|
||||
|
Loading…
x
Reference in New Issue
Block a user