aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFlorian Kagerer2010-06-25 18:47:52 +0000
committerFlorian Kagerer2010-06-25 18:47:52 +0000
commit3962f8ba59925ea3ffa5e27e738c2edc9434b74c (patch)
treeea0e0e3694bfa574e05f8e23bf8221ec7a5a5afd /engines
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 'engines')
-rw-r--r--engines/gob/gob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/gob.cpp b/engines/gob/gob.cpp
index fba616b166..ddeac25baa 100644
--- a/engines/gob/gob.cpp
+++ b/engines/gob/gob.cpp
@@ -346,7 +346,7 @@ void GobEngine::pauseGame() {
bool GobEngine::initGameParts() {
// just detect some devices some of which will be always there if the music is not disabled
- _noMusic = MidiDriver::detectDevice(MDT_PCSPK | MDT_MIDI | MDT_ADLIB) ? false : true;
+ _noMusic = MidiDriver::getMusicType(MidiDriver::detectDevice(MDT_PCSPK | MDT_MIDI | MDT_ADLIB)) == MT_NULL ? true : false;
_saveLoad = 0;
_global = new Global(this);