diff options
author | Filippos Karapetis | 2012-06-13 12:26:13 +0300 |
---|---|---|
committer | Filippos Karapetis | 2012-06-13 12:27:02 +0300 |
commit | 93024c073be6d93c9369a83e4b4468bb0aaeeadd (patch) | |
tree | 2efd99bd372af12e138285b04c00e283c601e78d /engines/sci/engine | |
parent | e2613d22423fe2108e13909279b2f336a8a3209d (diff) | |
download | scummvm-rg350-93024c073be6d93c9369a83e4b4468bb0aaeeadd.tar.gz scummvm-rg350-93024c073be6d93c9369a83e4b4468bb0aaeeadd.tar.bz2 scummvm-rg350-93024c073be6d93c9369a83e4b4468bb0aaeeadd.zip |
SCI: Handle the torindebug config setting for Torin's Passage French
Thanks to LePhilousophe for testing and providing a patch
Diffstat (limited to 'engines/sci/engine')
-rw-r--r-- | engines/sci/engine/kmisc.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/sci/engine/kmisc.cpp b/engines/sci/engine/kmisc.cpp index 1cbaf0708d..47c891eefd 100644 --- a/engines/sci/engine/kmisc.cpp +++ b/engines/sci/engine/kmisc.cpp @@ -384,6 +384,10 @@ reg_t kGetConfig(EngineState *s, int argc, reg_t *argv) { } else if (setting == "language") { Common::String languageId = Common::String::format("%d", g_sci->getSciLanguage()); s->_segMan->strcpy(data, languageId.c_str()); + } else if (setting == "torindebug") { + // Used to enable the debug mode in Torin's Passage (French). + // If true, the debug mode is enabled. + s->_segMan->strcpy(data, ""); } else { error("GetConfig: Unknown configuration setting %s", setting.c_str()); } |