diff options
author | Johannes Schickel | 2010-06-29 00:29:57 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-06-29 00:29:57 +0000 |
commit | 19abacc77a5e7e00f9315926a19ef2870e87a5d9 (patch) | |
tree | adf9e8abb60134428678836912aea7c0cc6e33f0 /sound/null.cpp | |
parent | 5c424cfb41d439db5a0b3c00b7081473aa384ca6 (diff) | |
download | scummvm-rg350-19abacc77a5e7e00f9315926a19ef2870e87a5d9.tar.gz scummvm-rg350-19abacc77a5e7e00f9315926a19ef2870e87a5d9.tar.bz2 scummvm-rg350-19abacc77a5e7e00f9315926a19ef2870e87a5d9.zip |
Fix fallback detection code in MidiDriver::detectDevice.
It formerly only used the global "mt32_device" and "gm_device"
values, but we also allow game specific values, thus we take
that into account now.
Also formerly the the check for the first available MT32/GM
device only used the device handle of the mt32_device/gm_device
instead of the list of devices it iterates over. Fixed that too.
Last but not least that whole detection code looks strange to me,
it seems we only use mt32_device and gm_device for fallback
detection, at least when the music_driver matches it will always
be used. So I wonder why we have those at all?
svn-id: r50471
Diffstat (limited to 'sound/null.cpp')
0 files changed, 0 insertions, 0 deletions