sezero / mikmod

Mikmod Sound System (mirror of git repo at https://sf.net/projects/mikmod/)
http://mikmod.sourceforge.net/
69 stars 21 forks source link

STM patterns >=numpat should be handled as blank patterns. #55

Closed AliceLR closed 2 years ago

AliceLR commented 2 years ago

In Screamtracker 2, patterns >=numpat and <64 are always valid and treated as blank patterns. MikMod was preserving the out of bounds pattern values but not allocating a blank pattern for them, resulting in these patterns being skipped. Several STM modules use these blank patterns at the end of their order list, presumably to act as a break so the user can switch modules, or to let samples finish.

Fixes #9.

sezero commented 2 years ago

Thanks.