aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNipun Garg2019-07-12 03:07:33 +0530
committerEugene Sandulenko2019-09-03 17:17:17 +0200
commit5b4602fdbee1cae593ccc8bc8b8d353a4274f4ac (patch)
tree30e2cab0b687efab956d36f06f88e3456fea93db
parent611041701e58b3f9abcb8a528a7ea46005168db8 (diff)
downloadscummvm-rg350-5b4602fdbee1cae593ccc8bc8b8d353a4274f4ac.tar.gz
scummvm-rg350-5b4602fdbee1cae593ccc8bc8b8d353a4274f4ac.tar.bz2
scummvm-rg350-5b4602fdbee1cae593ccc8bc8b8d353a4274f4ac.zip
HDB: Set _menuKey
-rw-r--r--engines/hdb/input.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/hdb/input.cpp b/engines/hdb/input.cpp
index 256b6fb53d..7f37b43be9 100644
--- a/engines/hdb/input.cpp
+++ b/engines/hdb/input.cpp
@@ -21,6 +21,7 @@
*/
#include "hdb/hdb.h"
+#include "hdb/menu.h"
namespace HDB {
@@ -348,10 +349,10 @@ void Input::updateKeys(Common::Event event, bool keyDown) {
if (keyDown) {
buttons |= kButtonA;
g_hdb->_gfx->showPointer(true);
- warning("STUB: changetoMenu");
+ g_hdb->_menu->setMenuKey(1);
} else {
buttons &= ~kButtonA;
- warning("STUB: changetoMenu");
+ g_hdb->_menu->setMenuKey(0);
}
} else if (event.kbd.keycode == _keyDebug) {
if (keyDown) {