SCUMM: (IMUSE/Amiga) - ignore Roland GS setting for Amiga driver

(Fix for bug no. 12374 - the invalid GS setting would cause a nullptr deref)
This commit is contained in:
athrxx 2021-04-10 15:57:16 +02:00
parent 49053f2b9b
commit ca6db6e409

View File

@ -2036,7 +2036,7 @@ void ScummEngine::setupMusic(int midi) {
useOnlyNative = true;
} else if (_sound->_musicType == MDT_AMIGA) {
nativeMidiDriver = new IMuseDriver_Amiga(_mixer);
_native_mt32 = false;
_native_mt32 = _enable_gs = false;
useOnlyNative = true;
} else if (_sound->_musicType != MDT_ADLIB && _sound->_musicType != MDT_TOWNS && _sound->_musicType != MDT_PCSPK) {
nativeMidiDriver = MidiDriver::createMidi(dev);