ALL: Synced with ScummVM - rev 0b777c23a9
This commit is contained in:
parent
b557bb7f60
commit
aea3bae26d
81 changed files with 2024 additions and 1418 deletions
|
@ -1378,8 +1378,8 @@ void OptionsDialog::addAudioControls(GuiObject *boss, const Common::String &pref
|
|||
for (MusicDevices::iterator d = i.begin(); d != i.end(); ++d) {
|
||||
Common::String deviceGuiOption = MidiDriver::musicType2GUIO(d->getMusicType());
|
||||
|
||||
if ((_domain == Common::ConfigManager::kApplicationDomain && d->getMusicType() != MT_TOWNS // global dialog - skip useless FM-Towns, C64, Amiga, AppleIIGS options there
|
||||
&& d->getMusicType() != MT_C64 && d->getMusicType() != MT_AMIGA && d->getMusicType() != MT_APPLEIIGS && d->getMusicType() != MT_PC98)
|
||||
if ((_domain == Common::ConfigManager::kApplicationDomain && d->getMusicType() != MT_TOWNS // global dialog - skip useless FM-Towns, C64, Amiga, AppleIIGS and SegaCD options there
|
||||
&& d->getMusicType() != MT_C64 && d->getMusicType() != MT_AMIGA && d->getMusicType() != MT_APPLEIIGS && d->getMusicType() != MT_PC98 && d->getMusicType() != MT_SEGACD)
|
||||
|| (_domain != Common::ConfigManager::kApplicationDomain && !hasMidiDefined) // No flags are specified
|
||||
|| (_guioptions.contains(deviceGuiOption)) // flag is present
|
||||
// HACK/FIXME: For now we have to show GM devices, even when the game only has GUIO_MIDIMT32 set,
|
||||
|
@ -2474,6 +2474,7 @@ void GlobalOptionsDialog::apply() {
|
|||
#endif
|
||||
|
||||
if (isRebuildNeeded) {
|
||||
g_gui.setLanguageRTL();
|
||||
if (_launcher != nullptr)
|
||||
_launcher->rebuild();
|
||||
rebuild();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue