From: <sag...@us...> - 2013-04-08 18:35:06
|
Revision: 1781 http://sourceforge.net/p/modplug/code/1781 Author: saga-games Date: 2013-04-08 18:34:59 +0000 (Mon, 08 Apr 2013) Log Message: ----------- [Fix] IT Compatibility: Test case vol-env-carry.it broke in rev 1481. Revision Links: -------------- http://sourceforge.net/p/modplug/code/1481 Modified Paths: -------------- trunk/OpenMPT/soundlib/Snd_fx.cpp Modified: trunk/OpenMPT/soundlib/Snd_fx.cpp =================================================================== --- trunk/OpenMPT/soundlib/Snd_fx.cpp 2013-04-08 17:30:30 UTC (rev 1780) +++ trunk/OpenMPT/soundlib/Snd_fx.cpp 2013-04-08 18:34:59 UTC (rev 1781) @@ -774,7 +774,7 @@ // NOTE: IT2.14 with SB/GUS/etc. output is different. We are going after IT's WAV writer here. // For SB/GUS/etc. emulation, envelope carry should only apply when the NNA isn't set to "Note Cut". // Test case: CarryNNA.it - resetAlways = (instrumentChanged || pChn->dwFlags[CHN_KEYOFF]); + resetAlways = (!pChn->nFadeOutVol || instrumentChanged || pChn->dwFlags[CHN_KEYOFF]); } else { reset = (!bPorta || !(GetType() & (MOD_TYPE_IT | MOD_TYPE_MPT)) || m_SongFlags[SONG_ITCOMPATGXX] This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |