aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/console.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2011-01-07 00:05:14 +0000
committerFilippos Karapetis2011-01-07 00:05:14 +0000
commita6994413ea3084914c4035298f4644e1dc9dbfe5 (patch)
tree67857c2820215f92250f3910c4c9c07bed439e83 /engines/sci/console.cpp
parent4b2f92b5e56a1fc273c8c8d2e69b747f938ea92f (diff)
downloadscummvm-rg350-a6994413ea3084914c4035298f4644e1dc9dbfe5.tar.gz
scummvm-rg350-a6994413ea3084914c4035298f4644e1dc9dbfe5.tar.bz2
scummvm-rg350-a6994413ea3084914c4035298f4644e1dc9dbfe5.zip
SCI2.1: Show the kernel table used in the "version" console command
Transitive SCI2.1 games (e.g. QFG4CD and PQ4CD, as well as GK2 demo) used a SCI2 table, with some added functions. If a SCI2.1 game is loaded, show what kernel table it uses svn-id: r55136
Diffstat (limited to 'engines/sci/console.cpp')
-rw-r--r--engines/sci/console.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/console.cpp b/engines/sci/console.cpp
index cad6092cff..e25b4cdc1a 100644
--- a/engines/sci/console.cpp
+++ b/engines/sci/console.cpp
@@ -458,6 +458,8 @@ bool Console::cmdGetVersion(int argc, const char **argv) {
#ifdef ENABLE_SCI32
if (getSciVersion() >= SCI_VERSION_2)
DebugPrintf("kString type: %s\n", (_engine->_features->detectSci2StringFunctionType() == kSci2StringFunctionOld) ? "SCI2 (old)" : "SCI2.1 (new)");
+ if (getSciVersion() == SCI_VERSION_2_1)
+ DebugPrintf("SCI2.1 kernel table: %s\n", (_engine->_features->detectSci21KernelType() == SCI_VERSION_2) ? "modified SCI2 (old)" : "SCI2.1 (new)");
#endif
DebugPrintf("View type: %s\n", viewTypeDesc[g_sci->getResMan()->getViewType()]);
DebugPrintf("Uses palette merging: %s\n", g_sci->_gfxPalette->isMerging() ? "yes" : "no");