From bdbd56406c20dfa7425a71de22999cc92065ce77 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 13 Apr 2005 00:11:49 +0000 Subject: Patches #1164217 "Updated GS Support + Percussion Remapping Patch" and #1181750 "Updated Native MIDI documentation". Thanks _tom a lot. svn-id: r17571 --- base/gameDetector.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'base') diff --git a/base/gameDetector.cpp b/base/gameDetector.cpp index bd0920a9ab..c7fb0aceb8 100644 --- a/base/gameDetector.cpp +++ b/base/gameDetector.cpp @@ -92,10 +92,11 @@ 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" + " --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" + " --enable-gs Enable Roland GS mode for MIDI playback\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" @@ -136,6 +137,7 @@ GameDetector::GameDetector() { ConfMan.registerDefault("multi_midi", false); ConfMan.registerDefault("native_mt32", false); + ConfMan.registerDefault("enable_gs", false); // ConfMan.registerDefault("music_driver", ???); ConfMan.registerDefault("cdrom", 0); @@ -486,6 +488,10 @@ void GameDetector::parseCommandLine(int argc, char **argv) { ConfMan.set("native_mt32", cmdValue, kTransientDomain); END_OPTION + DO_LONG_OPTION_BOOL("enable-gs") + ConfMan.set("enable_gs", cmdValue, kTransientDomain); + END_OPTION + DO_LONG_OPTION_BOOL("aspect-ratio") ConfMan.set("aspect_ratio", cmdValue, kTransientDomain); END_OPTION -- cgit v1.2.3