aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorEugene Sandulenko2009-05-13 20:57:37 +0000
committerEugene Sandulenko2009-05-13 20:57:37 +0000
commit68ea155b8841c9404745852415d3f67236ed203c (patch)
treed4555cfcfbfd0614558ff993ac5ac863bf79ef41 /base
parentd81d26fe2ad44f393df6f7b7ad67d12b666fba90 (diff)
downloadscummvm-rg350-68ea155b8841c9404745852415d3f67236ed203c.tar.gz
scummvm-rg350-68ea155b8841c9404745852415d3f67236ed203c.tar.bz2
scummvm-rg350-68ea155b8841c9404745852415d3f67236ed203c.zip
Add option --opl-driver to command line.
svn-id: r40531
Diffstat (limited to 'base')
-rw-r--r--base/commandLine.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/base/commandLine.cpp b/base/commandLine.cpp
index 87cd55e38f..62c526b0c6 100644
--- a/base/commandLine.cpp
+++ b/base/commandLine.cpp
@@ -103,6 +103,7 @@ static const char HELP_STRING[] =
" --native-mt32 True Roland MT-32 (disable GM emulation)\n"
" --enable-gs Enable Roland GS mode for MIDI playback\n"
" --output-rate=RATE Select output sample rate in Hz (e.g. 22050)\n"
+ " --opl-driver=DRIVER Select Adlib (OPL) emulator (db, mame)\n"
" --aspect-ratio Enable aspect ratio correction\n"
" --render-mode=MODE Enable additional render modes (cga, ega, hercGreen,\n"
" hercAmber, amiga)\n"
@@ -355,6 +356,9 @@ Common::String parseCommandLine(Common::StringMap &settings, int argc, const cha
DO_OPTION_BOOL('f', "fullscreen")
END_OPTION
+ DO_LONG_OPTION("opl-driver")
+ END_OPTION
+
DO_OPTION('g', "gfx-mode")
// Check whether 'option' specifies a valid graphics mode.
bool isValid = false;