From 13dc149ded691e718905049990dd0220230c500e Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Sun, 10 Apr 2005 14:33:44 +0000 Subject: 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 --- base/gameDetector.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'base') 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 -- cgit v1.2.3