From: <sag...@us...> - 2014-01-01 19:41:55
|
Revision: 3541 http://sourceforge.net/p/modplug/code/3541 Author: saga-games Date: 2014-01-01 19:41:45 +0000 (Wed, 01 Jan 2014) Log Message: ----------- [Fix] XM compatibility: The E90 command retriggers the note instantly and only once per row. Modified Paths: -------------- trunk/OpenMPT/soundlib/Snd_fx.cpp Modified: trunk/OpenMPT/soundlib/Snd_fx.cpp =================================================================== --- trunk/OpenMPT/soundlib/Snd_fx.cpp 2014-01-01 19:04:56 UTC (rev 3540) +++ trunk/OpenMPT/soundlib/Snd_fx.cpp 2014-01-01 19:41:45 UTC (rev 3541) @@ -4282,6 +4282,11 @@ { if ((m_nTickCount) || ((param & 0x100) && (!chn.rowCommand.note))) doRetrig = true; } + if(IsCompatibleMode(TRK_FASTTRACKER2) && param == 0) + { + // E90 = Retrig instantly, and only once + doRetrig = (m_nTickCount == 0); + } } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |