aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorTorbjörn Andersson2005-04-10 14:33:44 +0000
committerTorbjörn Andersson2005-04-10 14:33:44 +0000
commit13dc149ded691e718905049990dd0220230c500e (patch)
tree188daa35002ceb085c35778f63918e4b66365723 /base
parent53a64266c8963f46be68f54fcd1fb89432a02826 (diff)
downloadscummvm-rg350-13dc149ded691e718905049990dd0220230c500e.tar.gz
scummvm-rg350-13dc149ded691e718905049990dd0220230c500e.tar.bz2
scummvm-rg350-13dc149ded691e718905049990dd0220230c500e.zip
Applied patch #1175374 ("FluidSynth MIDI driver"), with a few documentation
changes. There are a few things that could use a bit more work, and I've only tested it on my Linux box. I have verified that ScummVM still compiles when it's disabled, though, so it shouldn't break anything too badly. svn-id: r17512
Diffstat (limited to 'base')
-rw-r--r--base/gameDetector.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/base/gameDetector.cpp b/base/gameDetector.cpp
index 282be9165e..bd0920a9ab 100644
--- a/base/gameDetector.cpp
+++ b/base/gameDetector.cpp
@@ -92,12 +92,14 @@ static const char USAGE_STRING[] =
" --platform=WORD Specify version of game (allowed values: amiga,\n"
" atari, fmtowns, nes, mac, pc, windows)\n"
" --savepath=PATH Path to where savegames are stored\n"
+ " --soundfont=FILE Select the SoundFont for MIDI playback. (Only\n"
+ " supported by some MIDI drivers.)\n"
" --multi-midi Enable combination Adlib and native MIDI\n"
" --native-mt32 True Roland MT-32 (disable GM emulation)\n"
" --output-rate=RATE Select output sample rate in Hz (e.g. 22050)\n"
" --aspect-ratio Enable aspect ratio correction\n"
" --render-mode=MODE Enable additional render modes (cga, ega, hercGreen,\n"
- " hercAmber, amiga)\n"
+ " hercAmber, amiga)\n"
" --force-1x-overlay Make inner GUI 320x200\n"
"\n"
#if !defined(DISABLE_SKY) || !defined(DISABLE_QUEEN)
@@ -472,6 +474,10 @@ void GameDetector::parseCommandLine(int argc, char **argv) {
ConfMan.set("platform", option, kTransientDomain);
END_OPTION
+ DO_LONG_OPTION("soundfont")
+ ConfMan.set("soundfont", option, kTransientDomain);
+ END_OPTION
+
DO_LONG_OPTION_BOOL("multi-midi")
ConfMan.set("multi_midi", cmdValue, kTransientDomain);
END_OPTION