aboutsummaryrefslogtreecommitdiff
path: root/gui/launcher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/launcher.cpp')
-rw-r--r--gui/launcher.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp
index 7aee7be417..14c98a1eb6 100644
--- a/gui/launcher.cpp
+++ b/gui/launcher.cpp
@@ -230,6 +230,9 @@ EditGameDialog::EditGameDialog(const String &domain, const String &desc)
_globalMIDIOverride = new CheckboxWidget(tab, "GameOptions_MIDI.EnableTabCheckbox", "Override global MIDI settings", kCmdGlobalMIDIOverride, 0);
+ if (_guioptions & Common::GUIO_NOMIDI)
+ _globalMIDIOverride->setEnabled(false);
+
addMIDIControls(tab, "GameOptions_MIDI.");
//