mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-07 02:12:14 +00:00
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:
parent
49053f2b9b
commit
ca6db6e409
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user