diff options
author | Filippos Karapetis | 2012-09-10 22:11:16 +0300 |
---|---|---|
committer | Filippos Karapetis | 2012-09-11 00:34:27 +0300 |
commit | a9a579891e2e267cf665f68ed1c9f4a2314d502e (patch) | |
tree | a7dc91e88178db883b21be42f956e472536b803f /engines/toltecs/menu.cpp | |
parent | 72cdd019fc5797f1250e346828a8fcef11fb28a4 (diff) | |
download | scummvm-rg350-a9a579891e2e267cf665f68ed1c9f4a2314d502e.tar.gz scummvm-rg350-a9a579891e2e267cf665f68ed1c9f4a2314d502e.tar.bz2 scummvm-rg350-a9a579891e2e267cf665f68ed1c9f4a2314d502e.zip |
TOLTECS: Open the save menu with F5 and the load menu with F9
Also, this changes the dialog skip key to space instead of escape
Diffstat (limited to 'engines/toltecs/menu.cpp')
-rw-r--r-- | engines/toltecs/menu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/toltecs/menu.cpp b/engines/toltecs/menu.cpp index d9836521f4..d7ba254d9b 100644 --- a/engines/toltecs/menu.cpp +++ b/engines/toltecs/menu.cpp @@ -40,7 +40,7 @@ MenuSystem::MenuSystem(ToltecsEngine *vm) : _vm(vm) { MenuSystem::~MenuSystem() { } -int MenuSystem::run() { +int MenuSystem::run(MenuID menuId) { //debug("MenuSystem::run()"); @@ -53,7 +53,7 @@ int MenuSystem::run() { memcpy(backgroundOrig.getBasePtr(0,0), _vm->_screen->_frontScreen, 640 * 400); _currMenuID = kMenuIdNone; - _newMenuID = kMenuIdMain; + _newMenuID = menuId; _currItemID = kItemIdNone; _editingDescription = false; |