mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-18 16:03:05 +00:00
AUDIO: fixed bug when device was set to default and only MDT_MIDI flags were passed to detectDevice()
svn-id: r50510
This commit is contained in:
parent
97186bd5b0
commit
7455c3ec39
@ -228,6 +228,9 @@ MidiDriver::DeviceHandle MidiDriver::detectDevice(int flags) {
|
||||
tp = MT_ADLIB;
|
||||
else if (flags & MDT_PCSPK)
|
||||
tp = MT_PCSPK;
|
||||
else if (l == 0)
|
||||
// if we haven't tried to find a MIDI device yet we do this now.
|
||||
continue;
|
||||
else
|
||||
tp = MT_AUTO;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user