[Scummvm-cvs-logs] SF.net SVN: scummvm:[41339] scummvm/trunk/engines/sci/sfx/softseq/adlib.h
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Sun Jun 7 18:44:58 CEST 2009
Revision: 41339
http://scummvm.svn.sourceforge.net/scummvm/?rev=41339&view=rev
Author: thebluegr
Date: 2009-06-07 16:44:57 +0000 (Sun, 07 Jun 2009)
Log Message:
-----------
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)
Modified Paths:
--------------
scummvm/trunk/engines/sci/sfx/softseq/adlib.h
Modified: scummvm/trunk/engines/sci/sfx/softseq/adlib.h
===================================================================
--- scummvm/trunk/engines/sci/sfx/softseq/adlib.h 2009-06-07 15:53:30 UTC (rev 41338)
+++ scummvm/trunk/engines/sci/sfx/softseq/adlib.h 2009-06-07 16:44:57 UTC (rev 41339)
@@ -35,7 +35,7 @@
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
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