[Scummvm-cvs-logs] scummvm master -> d159320571c71ca04f17df0ba7654c0978079bee
dreammaster
dreammaster at scummvm.org
Sat Oct 24 22:18:07 CEST 2015
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:
d159320571 MADS: Fix crash at end of copy protection failure cutscene
Commit: d159320571c71ca04f17df0ba7654c0978079bee
https://github.com/scummvm/scummvm/commit/d159320571c71ca04f17df0ba7654c0978079bee
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2015-10-24T16:17:30-04:00
Commit Message:
MADS: Fix crash at end of copy protection failure cutscene
Changed paths:
engines/mads/nebular/sound_nebular.cpp
diff --git a/engines/mads/nebular/sound_nebular.cpp b/engines/mads/nebular/sound_nebular.cpp
index 711f82a..ab6bd82 100644
--- a/engines/mads/nebular/sound_nebular.cpp
+++ b/engines/mads/nebular/sound_nebular.cpp
@@ -216,6 +216,8 @@ ASound::ASound(Audio::Mixer *mixer, OPL::OPL *opl, const Common::String &filenam
}
ASound::~ASound() {
+ _opl->stop();
+
Common::List<CachedDataEntry>::iterator i;
for (i = _dataCache.begin(); i != _dataCache.end(); ++i)
delete[] (*i)._data;
More information about the Scummvm-git-logs
mailing list