diff options
author | Nipun Garg | 2019-07-12 03:07:33 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:17 +0200 |
commit | 5b4602fdbee1cae593ccc8bc8b8d353a4274f4ac (patch) | |
tree | 30e2cab0b687efab956d36f06f88e3456fea93db | |
parent | 611041701e58b3f9abcb8a528a7ea46005168db8 (diff) | |
download | scummvm-rg350-5b4602fdbee1cae593ccc8bc8b8d353a4274f4ac.tar.gz scummvm-rg350-5b4602fdbee1cae593ccc8bc8b8d353a4274f4ac.tar.bz2 scummvm-rg350-5b4602fdbee1cae593ccc8bc8b8d353a4274f4ac.zip |
HDB: Set _menuKey
-rw-r--r-- | engines/hdb/input.cpp | 5 |
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) { |