KYRA: Fm-Towns Audio: fixed crash

svn-id: r33943
This commit is contained in:
Florian Kagerer 2008-08-16 15:24:52 +00:00
parent 193f52906c
commit cc80af1448

View File

@ -3156,8 +3156,10 @@ void TownsPC98_OpnDriver::fadeOut() {
if (_updateSSGFlag & _ssgChannels[j]->_idFlag)
_ssgChannels[j]->fadeStep();
}
if (_updatePCMFlag & _pcmChannel->_idFlag)
_pcmChannel->fadeStep();
if (_hasPCM) {
if (_updatePCMFlag & _pcmChannel->_idFlag)
_pcmChannel->fadeStep();
}
unlock();