.52 .xm Kxx misbehaviour

Started by Saga Musix, January 14, 2009, 18:55:50

Previous topic - Next topic

Saga Musix

Full Version:
OpenMPT v1.17.02.52

Has the bug occured in previous versions? If yes, please specify version(s): (This option is optional, and doesn't need research. But in case you know...)
not tested

Description of the bug:
Kxx behaviour is wrong. It should work exactly like == (just with a delay). At the moment, it simply triggers a fade-out + release sustain.

The exact behaviour should be:
- If volume envelope is DISABLED, cut it off (like ==) <-- This is done wrong atm!
- If volume envelope is ENABLED, trigger sustain and fade it out (also like ==)

Also, modplug does not seem to respect the xx parameter at all: Fadeout begins immediately after the effect is called, there's no delay of xx ticks. Higher values than (song tempo - 1) have no effect, e.g. Kxx works for K00 to K05 when song tempo is 6.

Fixed in SVN release (using compatiblity flag)
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.