aboutsummaryrefslogtreecommitdiff
path: root/sound/musicplugin.cpp
diff options
context:
space:
mode:
authorFlorian Kagerer2010-06-25 18:47:52 +0000
committerFlorian Kagerer2010-06-25 18:47:52 +0000
commit3962f8ba59925ea3ffa5e27e738c2edc9434b74c (patch)
treeea0e0e3694bfa574e05f8e23bf8221ec7a5a5afd /sound/musicplugin.cpp
parentbe8a59666894364c04b127b7b97bfd6efdd08b35 (diff)
downloadscummvm-rg350-3962f8ba59925ea3ffa5e27e738c2edc9434b74c.tar.gz
scummvm-rg350-3962f8ba59925ea3ffa5e27e738c2edc9434b74c.tar.bz2
scummvm-rg350-3962f8ba59925ea3ffa5e27e738c2edc9434b74c.zip
AUDIO: some fixes in the audio device code (no sound option, new GUIO flags)
svn-id: r50281
Diffstat (limited to 'sound/musicplugin.cpp')
-rw-r--r--sound/musicplugin.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/musicplugin.cpp b/sound/musicplugin.cpp
index 7b5b6608ea..8078094616 100644
--- a/sound/musicplugin.cpp
+++ b/sound/musicplugin.cpp
@@ -60,7 +60,5 @@ Common::String MusicDevice::getCompleteId() {
}
MidiDriver::DeviceHandle MusicDevice::getHandle() {
- if (_musicDriverId.equals("auto") || _musicDriverId.equals("null"))
- return 0;
return (MidiDriver::DeviceHandle)Common::hashit(getCompleteId().c_str());
}