[Scummvm-cvs-logs] SF.net SVN: scummvm:[33943] scummvm/trunk/engines/kyra/sound_towns.cpp
athrxx at users.sourceforge.net
athrxx at users.sourceforge.net
Sat Aug 16 17:24:53 CEST 2008
Revision: 33943
http://scummvm.svn.sourceforge.net/scummvm/?rev=33943&view=rev
Author: athrxx
Date: 2008-08-16 15:24:52 +0000 (Sat, 16 Aug 2008)
Log Message:
-----------
KYRA: Fm-Towns Audio: fixed crash
Modified Paths:
--------------
scummvm/trunk/engines/kyra/sound_towns.cpp
Modified: scummvm/trunk/engines/kyra/sound_towns.cpp
===================================================================
--- scummvm/trunk/engines/kyra/sound_towns.cpp 2008-08-16 14:25:03 UTC (rev 33942)
+++ scummvm/trunk/engines/kyra/sound_towns.cpp 2008-08-16 15:24:52 UTC (rev 33943)
@@ -3156,8 +3156,10 @@
if (_updateSSGFlag & _ssgChannels[j]->_idFlag)
_ssgChannels[j]->fadeStep();
}
- if (_updatePCMFlag & _pcmChannel->_idFlag)
- _pcmChannel->fadeStep();
+ if (_hasPCM) {
+ if (_updatePCMFlag & _pcmChannel->_idFlag)
+ _pcmChannel->fadeStep();
+ }
unlock();
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