aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorEugene Sandulenko2005-04-13 00:11:49 +0000
committerEugene Sandulenko2005-04-13 00:11:49 +0000
commitbdbd56406c20dfa7425a71de22999cc92065ce77 (patch)
tree0b3cc6d6c63ecac48ac9fed8170004a00cab195d /base
parent3536cd0aa2d9ade01d7f5bf0c19c6a573739a398 (diff)
downloadscummvm-rg350-bdbd56406c20dfa7425a71de22999cc92065ce77.tar.gz
scummvm-rg350-bdbd56406c20dfa7425a71de22999cc92065ce77.tar.bz2
scummvm-rg350-bdbd56406c20dfa7425a71de22999cc92065ce77.zip
Patches #1164217 "Updated GS Support + Percussion Remapping Patch" and
#1181750 "Updated Native MIDI documentation". Thanks _tom a lot. svn-id: r17571
Diffstat (limited to 'base')
-rw-r--r--base/gameDetector.cpp10
1 files changed, 8 insertions, 2 deletions
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