[Scummvm-cvs-logs] SF.net SVN: scummvm:[46478] scummvm/trunk/engines/sci/sfx/music.cpp
eriktorbjorn at users.sourceforge.net
eriktorbjorn at users.sourceforge.net
Tue Dec 22 07:02:49 CET 2009
Revision: 46478
http://scummvm.svn.sourceforge.net/scummvm/?rev=46478&view=rev
Author: eriktorbjorn
Date: 2009-12-22 06:02:49 +0000 (Tue, 22 Dec 2009)
Log Message:
-----------
The detectMusicDriver() function returns MD_-something, not MDT_-something.
Modified Paths:
--------------
scummvm/trunk/engines/sci/sfx/music.cpp
Modified: scummvm/trunk/engines/sci/sfx/music.cpp
===================================================================
--- scummvm/trunk/engines/sci/sfx/music.cpp 2009-12-22 00:35:27 UTC (rev 46477)
+++ scummvm/trunk/engines/sci/sfx/music.cpp 2009-12-22 06:02:49 UTC (rev 46478)
@@ -67,7 +67,7 @@
_midiType = MidiDriver::detectMusicDriver(MDT_MIDI | MDT_ADLIB | MDT_PCSPK);
// Sanity check
- if (_midiType != MDT_MIDI && _midiType != MDT_ADLIB && _midiType != MDT_PCSPK) {
+ if (_midiType != MD_ADLIB && _midiType != MD_PCJR && _midiType != MD_PCSPK) {
warning("Unhandled MIDI type, switching to Adlib");
_midiType = MD_ADLIB;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list