From: <sag...@us...> - 2013-06-22 22:35:04
|
Revision: 2400 http://sourceforge.net/p/modplug/code/2400 Author: saga-games Date: 2013-06-22 22:34:56 +0000 (Sat, 22 Jun 2013) Log Message: ----------- [Fix] IT compatibility: Fine volume slides in the volume column are only executed on the first tick, and not on multiples of the first tick in case of a pattern delay. Modified Paths: -------------- trunk/OpenMPT/soundlib/Snd_fx.cpp Modified: trunk/OpenMPT/soundlib/Snd_fx.cpp =================================================================== --- trunk/OpenMPT/soundlib/Snd_fx.cpp 2013-06-21 16:47:24 UTC (rev 2399) +++ trunk/OpenMPT/soundlib/Snd_fx.cpp 2013-06-22 22:34:56 UTC (rev 2400) @@ -2148,15 +2148,25 @@ break; case VOLCMD_FINEVOLUP: - // IT Compatibility: Volume column volume slides have their own memory - // Test case: VolColMemory.it - FineVolumeUp(pChn, vol, IsCompatibleMode(TRK_IMPULSETRACKER)); + // IT Compatibility: Fine volume slides in the volume column are only executed on the first tick, not on multiples of the first tick in case of pattern delay + // Test case: FineVolColSlide.it + if(m_nTickCount == 0 || !IsCompatibleMode(TRK_IMPULSETRACKER)) + { + // IT Compatibility: Volume column volume slides have their own memory + // Test case: VolColMemory.it + FineVolumeUp(pChn, vol, IsCompatibleMode(TRK_IMPULSETRACKER)); + } break; case VOLCMD_FINEVOLDOWN: - // IT Compatibility: Volume column volume slides have their own memory - // Test case: VolColMemory.it - FineVolumeDown(pChn, vol, IsCompatibleMode(TRK_IMPULSETRACKER)); + // IT Compatibility: Fine volume slides in the volume column are only executed on the first tick, not on multiples of the first tick in case of pattern delay + // Test case: FineVolColSlide.it + if(m_nTickCount == 0 || !IsCompatibleMode(TRK_IMPULSETRACKER)) + { + // IT Compatibility: Volume column volume slides have their own memory + // Test case: VolColMemory.it + FineVolumeDown(pChn, vol, IsCompatibleMode(TRK_IMPULSETRACKER)); + } break; case VOLCMD_VIBRATOSPEED: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |