aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/console.cpp
diff options
context:
space:
mode:
authorMartin Kiewitz2016-08-13 14:58:07 +0200
committerMartin Kiewitz2016-08-13 14:58:07 +0200
commitc270b30a7937186fecd016b9a74421d633dd90c0 (patch)
tree9315baae08580c5f51b3bf07d503049680a33837 /engines/sci/console.cpp
parent409772ea1f1986ff37656ae57a0e2b2eaf8c1b4d (diff)
downloadscummvm-rg350-c270b30a7937186fecd016b9a74421d633dd90c0.tar.gz
scummvm-rg350-c270b30a7937186fecd016b9a74421d633dd90c0.tar.bz2
scummvm-rg350-c270b30a7937186fecd016b9a74421d633dd90c0.zip
SCI: Fix pseudo mouse in various SCI1 games like e.g. Larry5
Pseudo mouse was functionality in SCI1+ games, that allowed the user to control the mouse via keyboard cursor keys. This new class only worked, when a tiny difference inside the keyboard driver happened on kMapKeyToDir calls. We previously tried to enable this behavior depending on cursor type, but this didn't work correctly (Larry 5 for example was not detected as such, but had PseudoMouse support).
Diffstat (limited to 'engines/sci/console.cpp')
-rw-r--r--engines/sci/console.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/console.cpp b/engines/sci/console.cpp
index 3e67a1819a..3aaf13efdb 100644
--- a/engines/sci/console.cpp
+++ b/engines/sci/console.cpp
@@ -489,6 +489,7 @@ bool Console::cmdGetVersion(int argc, const char **argv) {
debugPrintf("Lofs type: %s\n", getSciVersionDesc(_engine->_features->detectLofsType()));
debugPrintf("Move count type: %s\n", (_engine->_features->handleMoveCount()) ? "increment" : "ignore");
debugPrintf("SetCursor type: %s\n", getSciVersionDesc(_engine->_features->detectSetCursorType()));
+ debugPrintf("PseudoMouse ability: %s\n", _engine->_features->detectPseudoMouseAbility() == kPseudoMouseAbilityTrue ? "yes" : "no");
#ifdef ENABLE_SCI32
if ((getSciVersion() >= SCI_VERSION_2_1_EARLY) && (getSciVersion() <= SCI_VERSION_2_1_LATE))
debugPrintf("SCI2.1 kernel table: %s\n", (_engine->_features->detectSci21KernelType() == SCI_VERSION_2) ? "modified SCI2 (old)" : "SCI2.1 (new)");