From c71b1495236447ef66d2730a797f451d4ee4db21 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Wed, 2 Oct 2013 05:34:27 +0100 Subject: CINE: Ensure that Adlib driver callbacks are initialized. CID 1003411. --- engines/cine/sound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/cine/sound.cpp') diff --git a/engines/cine/sound.cpp b/engines/cine/sound.cpp index 10404ae56b..0df926675e 100644 --- a/engines/cine/sound.cpp +++ b/engines/cine/sound.cpp @@ -281,7 +281,7 @@ void PCSoundDriver::resetChannel(int channel) { } AdLibSoundDriver::AdLibSoundDriver(Audio::Mixer *mixer) - : _mixer(mixer) { + : _upCb(0), _upRef(0), _mixer(mixer) { _sampleRate = _mixer->getOutputRate(); _opl = makeAdLibOPL(_sampleRate); memset(_channelsVolumeTable, 0, sizeof(_channelsVolumeTable)); -- cgit v1.2.3