From: <sag...@us...> - 2013-05-12 19:33:21
|
Revision: 2074 http://sourceforge.net/p/modplug/code/2074 Author: saga-games Date: 2013-05-12 19:33:13 +0000 (Sun, 12 May 2013) Log Message: ----------- [Fix] S9F kind of broke in rev 1993 instead of being improved... Revision Links: -------------- http://sourceforge.net/p/modplug/code/1993 Modified Paths: -------------- trunk/OpenMPT/soundlib/Snd_fx.cpp Modified: trunk/OpenMPT/soundlib/Snd_fx.cpp =================================================================== --- trunk/OpenMPT/soundlib/Snd_fx.cpp 2013-05-12 14:34:36 UTC (rev 2073) +++ trunk/OpenMPT/soundlib/Snd_fx.cpp 2013-05-12 19:33:13 UTC (rev 2074) @@ -3632,7 +3632,7 @@ break; // S9F: Go backward (and set playback position to the end if sample just started) case 0x0F: - if(!pChn->nPos && pChn->nLength && !pChn->rowCommand.IsNote()) + if(!pChn->nPos && pChn->nLength && (pChn->rowCommand.IsNote() || !pChn->dwFlags[CHN_LOOP])) { pChn->nPos = pChn->nLength - 1; pChn->nPosLo = 0xFFFF; @@ -4097,7 +4097,7 @@ pChn->nVolume = pChn->nPeriod = 0; } } - } else if ((param < pChn->nLength) && (GetType() & (MOD_TYPE_MTM|MOD_TYPE_DMF))) + } else if ((param < pChn->nLength) && (GetType() & (MOD_TYPE_MTM | MOD_TYPE_DMF | MOD_TYPE_MDL))) { // Some trackers can also call offset effects without notes next to them... pChn->nPos = param; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |