mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-25 03:07:06 +00:00
Init _opl to 0. This prevents a crash on exit when the Adlib driver is closed, if the game music driver doesn't support music for the currently playing game (e.g. Christmas 1998)
svn-id: r41339
This commit is contained in:
parent
744323ca33
commit
36cdd09223
@ -35,7 +35,7 @@ public:
|
||||
kRhythmKeys = 62
|
||||
};
|
||||
|
||||
MidiDriver_Adlib(Audio::Mixer *mixer) : MidiDriver_Emulated(mixer), _playSwitch(true), _masterVolume(15), _rhythmKeyMap(0) { }
|
||||
MidiDriver_Adlib(Audio::Mixer *mixer) : MidiDriver_Emulated(mixer), _playSwitch(true), _masterVolume(15), _rhythmKeyMap(0), _opl(0) { }
|
||||
~MidiDriver_Adlib() { }
|
||||
|
||||
// MidiDriver
|
||||
|
Loading…
Reference in New Issue
Block a user