diff options
author | Max Horn | 2002-05-04 00:20:39 +0000 |
---|---|---|
committer | Max Horn | 2002-05-04 00:20:39 +0000 |
commit | c7002262bb8844d6ea5d6c8fbada4983475e2b49 (patch) | |
tree | 5d0880f9ac35a07a0b180ddfa7136bc78f18975e /gameDetector.cpp | |
parent | 711d994b9c4902d97dfe6ec4e7095f0a516011a4 (diff) | |
download | scummvm-rg350-c7002262bb8844d6ea5d6c8fbada4983475e2b49.tar.gz scummvm-rg350-c7002262bb8844d6ea5d6c8fbada4983475e2b49.tar.bz2 scummvm-rg350-c7002262bb8844d6ea5d6c8fbada4983475e2b49.zip |
automatic detecion of MT32 vs. GM midi; removed obsolete -r command line option
svn-id: r4193
Diffstat (limited to 'gameDetector.cpp')
-rw-r--r-- | gameDetector.cpp | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/gameDetector.cpp b/gameDetector.cpp index 0fcb5b36d8..917e7ccff1 100644 --- a/gameDetector.cpp +++ b/gameDetector.cpp @@ -53,7 +53,6 @@ static const char USAGE_STRING[] = "\t-m<num> - set music volume to <num> (0-100)\n" "\t-s<num> - set sfx volume to <num> (0-255)\n" "\t-e<mode> - set music engine (see readme.txt for details)\n" - "\t-r - emulate roland mt32 instruments\n" "\t-f - fullscreen mode\n" "\t-g<mode> - graphics mode (normal,2x,3x,2xsai,super2xsai,supereagle,advmame2x)\n" "\t-a - specify game is amiga version\n" @@ -93,12 +92,6 @@ void GameDetector::updateconfig() if ((val = scummcfg->get("sfx_volume"))) _sfx_volume = atoi(val); - if ((val = scummcfg->get("mt32emulate"))) - if (!scumm_stricmp(val, "true")) - _mt32emulate = true; - else - _mt32emulate = false; - if ((val = scummcfg->get("nosubtitles"))) if (!scumm_stricmp(val, "true")) _noSubtitles = true; @@ -210,9 +203,8 @@ void GameDetector::parseCommandLine(int argc, char **argv) scummcfg->set("path", _gameDataPath); break; case 'r': - CHECK_OPTION(); - _mt32emulate = true; - scummcfg->set("mt32emulate", "true"); + HANDLE_OPTION(); + // Ignore -r for now, to ensure backward compatibility. break; case 's': HANDLE_OPTION(); |