diff options
author | Max Horn | 2003-10-18 00:22:46 +0000 |
---|---|---|
committer | Max Horn | 2003-10-18 00:22:46 +0000 |
commit | 33f2fbff08573634e868c50d5cff3e4d2482a543 (patch) | |
tree | 8f2d54cc54085bd418743b5b2d4fbcbcb7882a63 /gui | |
parent | 0694eed27393ee7d1cbeccd20e8641fa261f5642 (diff) | |
download | scummvm-rg350-33f2fbff08573634e868c50d5cff3e4d2482a543.tar.gz scummvm-rg350-33f2fbff08573634e868c50d5cff3e4d2482a543.tar.bz2 scummvm-rg350-33f2fbff08573634e868c50d5cff3e4d2482a543.zip |
We proudly present the latest installment of our hit series 'Untangle the mess': 'Help! Space Invaders refactored the music detector'... in other news, I obviously need to sleep now
svn-id: r10883
Diffstat (limited to 'gui')
-rw-r--r-- | gui/options.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/options.cpp b/gui/options.cpp index 475e478ce5..403afb4694 100644 --- a/gui/options.cpp +++ b/gui/options.cpp @@ -92,9 +92,10 @@ GlobalOptionsDialog::GlobalOptionsDialog(NewGui *gui, GameDetector &detector) // Populate it const MidiDriverDescription *md = getAvailableMidiDrivers(); + const int midiDriver = parseMusicDriver(ConfMan.get("music_driver")); while (md->name) { _midiPopUp->appendEntry(md->description, md->id); - if (md->id == detector._midi_driver) + if (md->id == midiDriver) midiSelected = i; i++; md++; |