aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorNipun Garg2019-06-29 02:47:35 +0530
committerEugene Sandulenko2019-09-03 17:17:04 +0200
commit08771f2aebd671f710a862a1111e8cae26f43635 (patch)
tree02cafaee5f63a820a829cf2486759dfdc9bafe78 /engines
parent8a63a2169d53e43388a513f251e7b9defa3e632b (diff)
downloadscummvm-rg350-08771f2aebd671f710a862a1111e8cae26f43635.tar.gz
scummvm-rg350-08771f2aebd671f710a862a1111e8cae26f43635.tar.bz2
scummvm-rg350-08771f2aebd671f710a862a1111e8cae26f43635.zip
HDB: Add getter-setter for _buttons
Diffstat (limited to 'engines')
-rw-r--r--engines/hdb/input.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/hdb/input.cpp b/engines/hdb/input.cpp
index 3ea214eadc..5c18b75149 100644
--- a/engines/hdb/input.cpp
+++ b/engines/hdb/input.cpp
@@ -46,12 +46,11 @@ bool Input::init() {
}
void Input::setButtons(uint16 b) {
- warning("STUB: Input: setButtons required");
+ _buttons = b;
}
uint16 Input::getButtons() {
- warning("STUB: Input: getButtons required");
- return 0;
+ return _buttons;
}
void Input::stylusDown(int x, int y) {