aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorThierry Crozat2019-10-06 17:08:47 +0100
committerThierry Crozat2019-10-06 17:10:04 +0100
commite06ec24807e88d688c67539d20efe41d165aa608 (patch)
tree3fbfa4a46ba106ceadae856e0b9343d880e5e9df /engines
parent113d33b280356c7e9f7d19ca5ac8ba06cc48ca55 (diff)
downloadscummvm-rg350-e06ec24807e88d688c67539d20efe41d165aa608.tar.gz
scummvm-rg350-e06ec24807e88d688c67539d20efe41d165aa608.tar.bz2
scummvm-rg350-e06ec24807e88d688c67539d20efe41d165aa608.zip
SUPERNOVA: Hook up F5 to the Main Menu
In the original F5 is used to save/load the game. Since we are using the ScummVM save/load mechanism I think it makes sense to open the main menu, that contains load and save buttons, on F5.
Diffstat (limited to 'engines')
-rw-r--r--engines/supernova/game-manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/supernova/game-manager.cpp b/engines/supernova/game-manager.cpp
index 7e44882de2..66fb013f86 100644
--- a/engines/supernova/game-manager.cpp
+++ b/engines/supernova/game-manager.cpp
@@ -278,7 +278,7 @@ void GameManager::processInput(Common::KeyState &state) {
_vm->setTextSpeed();
break;
case Common::KEYCODE_F5:
- // load/save
+ _vm->openMainMenuDialog();
break;
case Common::KEYCODE_x:
if (state.flags & Common::KBD_ALT) {