mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-08 03:47:32 +00:00
Prevent the MT-32 Emulator from being displayed in the "GM Device" pop up.
svn-id: r50649
This commit is contained in:
parent
da1a8535b4
commit
9880017c11
@ -678,9 +678,10 @@ void OptionsDialog::addAudioControls(GuiObject *boss, const Common::String &pref
|
||||
|| d->getMusicDriverId() == "auto" || d->getMusicDriverId() == "null") // always add default and null device
|
||||
_midiPopUp->appendEntry(d->getCompleteName(), musicId++);
|
||||
|
||||
if (d->getMusicType() >= MT_GM || m == p.begin()) {
|
||||
if (d->getMusicType() >= MT_GM || d->getMusicDriverId() == "auto") {
|
||||
_mt32DevicePopUp->appendEntry(d->getCompleteName(), midiId);
|
||||
_gmDevicePopUp->appendEntry(d->getCompleteName(), midiId++);
|
||||
if (d->getMusicType() != MT_MT32)
|
||||
_gmDevicePopUp->appendEntry(d->getCompleteName(), midiId++);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user