diff options
author | Johannes Schickel | 2010-06-29 00:38:06 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-06-29 00:38:06 +0000 |
commit | 36e583944fad8658948522566014b79833fc3bfc (patch) | |
tree | 5b6ff371ca62e08a3b8856588f5d862de737af14 /sound/mididrv.cpp | |
parent | a254d29741681500fffa5609c0a2f6f10339352b (diff) | |
download | scummvm-rg350-36e583944fad8658948522566014b79833fc3bfc.tar.gz scummvm-rg350-36e583944fad8658948522566014b79833fc3bfc.tar.bz2 scummvm-rg350-36e583944fad8658948522566014b79833fc3bfc.zip |
Return "0" in case no device was detected in MidiDriver::detectDevice.
svn-id: r50473
Diffstat (limited to 'sound/mididrv.cpp')
-rw-r--r-- | sound/mididrv.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/mididrv.cpp b/sound/mididrv.cpp index 0a2dbb4447..d164864fc2 100644 --- a/sound/mididrv.cpp +++ b/sound/mididrv.cpp @@ -240,7 +240,7 @@ MidiDriver::DeviceHandle MidiDriver::detectDevice(int flags) { } } - return hdl; + return 0; } MidiDriver *MidiDriver::createMidi(MidiDriver::DeviceHandle handle) { |