From: <sag...@us...> - 2014-02-07 18:59:48
|
Revision: 3671 http://sourceforge.net/p/modplug/code/3671 Author: saga-games Date: 2014-02-07 18:59:41 +0000 (Fri, 07 Feb 2014) Log Message: ----------- [Fix] IT compatibility: S5x should reset panbrello phase. Modified Paths: -------------- trunk/OpenMPT/soundlib/Snd_fx.cpp Modified: trunk/OpenMPT/soundlib/Snd_fx.cpp =================================================================== --- trunk/OpenMPT/soundlib/Snd_fx.cpp 2014-02-07 18:43:19 UTC (rev 3670) +++ trunk/OpenMPT/soundlib/Snd_fx.cpp 2014-02-07 18:59:41 UTC (rev 3671) @@ -3578,9 +3578,13 @@ case 0x50: // IT compatibility: Ignore waveform types > 3 if(IsCompatibleMode(TRK_IMPULSETRACKER)) + { pChn->nPanbrelloType = (param < 0x04) ? param : 0; - else + pChn->nPanbrelloPos = 0; + } else + { pChn->nPanbrelloType = param & 0x07; + } break; // S6x: Pattern Delay for x frames case 0x60: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |