From a6994413ea3084914c4035298f4644e1dc9dbfe5 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Fri, 7 Jan 2011 00:05:14 +0000 Subject: 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 --- engines/sci/console.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/sci') 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"); -- cgit v1.2.3