diff options
author | Florian Kagerer | 2010-06-22 15:30:41 +0000 |
---|---|---|
committer | Florian Kagerer | 2010-06-22 15:30:41 +0000 |
commit | 46ec88f74d9b7596cee2e6a167b1ccf361771601 (patch) | |
tree | bbee6636c5bdb26ef1922cb3ec3c6b61d0bf8f23 /sound/mididrv.cpp | |
parent | bb9f556c363718959a43c7a65cec1944b626d358 (diff) | |
download | scummvm-rg350-46ec88f74d9b7596cee2e6a167b1ccf361771601.tar.gz scummvm-rg350-46ec88f74d9b7596cee2e6a167b1ccf361771601.tar.bz2 scummvm-rg350-46ec88f74d9b7596cee2e6a167b1ccf361771601.zip |
GUI/LAUNCHER: This should fix the regression concerning pc speaker / pcjr support caused by patch #1956501
svn-id: r50145
Diffstat (limited to 'sound/mididrv.cpp')
-rw-r--r-- | sound/mididrv.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sound/mididrv.cpp b/sound/mididrv.cpp index 51abed3aa1..15da0f3106 100644 --- a/sound/mididrv.cpp +++ b/sound/mididrv.cpp @@ -131,11 +131,15 @@ MidiDriver::DeviceHandle MidiDriver::detectDevice(int flags) { // given flags. switch (getMusicType(hdl)) { case MT_PCSPK: - case MT_PCJR: if (flags & MDT_PCSPK) return hdl; break; + case MT_PCJR: + if (flags & MDT_PCJR) + return hdl; + break; + case MT_ADLIB: if (flags & MDT_ADLIB) return hdl; |