aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNipun Garg2019-08-10 10:37:00 +0530
committerEugene Sandulenko2019-09-03 17:17:33 +0200
commit53534edc8fe31c5d640328a083506bbe5b0dacb0 (patch)
tree599a095165d8dcd72e1b699857c1f40d466dda79
parentfab015edd29d78e9286ac2021987e4b804a4a6bc (diff)
downloadscummvm-rg350-53534edc8fe31c5d640328a083506bbe5b0dacb0.tar.gz
scummvm-rg350-53534edc8fe31c5d640328a083506bbe5b0dacb0.tar.bz2
scummvm-rg350-53534edc8fe31c5d640328a083506bbe5b0dacb0.zip
HDB: Fix PPC controls
-rw-r--r--engines/hdb/input.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/engines/hdb/input.cpp b/engines/hdb/input.cpp
index fb7f127cdf..15ba7fcf4e 100644
--- a/engines/hdb/input.cpp
+++ b/engines/hdb/input.cpp
@@ -45,9 +45,6 @@ bool Input::init() {
_keyDebug = Common::KEYCODE_F1;
_keyQuit = Common::KEYCODE_F10;
- if (g_hdb->isPPC())
- return true;
-
_mouseX = g_hdb->_screenWidth / 2;
_mouseY = g_hdb->_screenHeight / 2;
@@ -426,9 +423,6 @@ void Input::stylusMove(int x, int y) {
}
void Input::updateMouse(int newX, int newY) {
- if (g_hdb->isPPC())
- return;
-
_mouseX = newX;
_mouseY = newY;
@@ -454,10 +448,6 @@ void Input::updateMouse(int newX, int newY) {
}
void Input::updateMouseButtons(int l, int m, int r) {
-
- if (g_hdb->isPPC())
- return;
-
_mouseLButton += l;
_mouseMButton += m;
_mouseRButton += r;
@@ -500,10 +490,6 @@ void Input::updateMouseButtons(int l, int m, int r) {
}
void Input::updateKeys(Common::Event event, bool keyDown) {
-
- if (g_hdb->isPPC())
- return;
-
static int current = 0, last = 0;
if (keyDown && event.kbd.keycode == _keyQuit) {