[Scummvm-cvs-logs] scummvm master -> c71b1495236447ef66d2730a797f451d4ee4db21
digitall
dgturner at iee.org
Wed Oct 2 06:32:34 CEST 2013
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
c71b149523 CINE: Ensure that Adlib driver callbacks are initialized. CID 1003411.
Commit: c71b1495236447ef66d2730a797f451d4ee4db21
https://github.com/scummvm/scummvm/commit/c71b1495236447ef66d2730a797f451d4ee4db21
Author: D G Turner (digitall at scummvm.org)
Date: 2013-10-01T21:34:27-07:00
Commit Message:
CINE: Ensure that Adlib driver callbacks are initialized. CID 1003411.
Changed paths:
engines/cine/sound.cpp
diff --git a/engines/cine/sound.cpp b/engines/cine/sound.cpp
index 10404ae..0df9266 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));
More information about the Scummvm-git-logs
mailing list