Closed neumatho closed 3 years ago
Attached the module.
Can we change the check to if (sample.loopend>=0xfffff) sample.loopend=0;
which is what libxmp does?
Just tested it with your suggesion and that's working fine as well.
I'm not particularly familiar with MOD player behavior with loopend values >0xFFFFF but this behavior seems like a reasonable default to me.
Should this fix be included or are you still consider it?
Should this fix be included or are you still consider it?
I will apply soon, along with some other patches.
In the module "Lost in Germary" by GMaxx (can be found on Modland) have another marker for the samples to indicate that they do not loop. Normal marker is 0x000fffff, but in this module, the marker is 0x00f0ffff. Therefore I have added this extra check.