mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 14:18:37 +00:00
The detectMusicDriver() function returns MD_-something, not MDT_-something.
svn-id: r46478
This commit is contained in:
parent
0d82924fbe
commit
899d576976
@ -67,7 +67,7 @@ void SciMusic::init() {
|
||||
_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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user