shithub: dumb

Download patch

ref: 3ec1cc5db70c2f782b9e4b1f199bfb04ceae8718
parent: 3a25c206f5610e2626926be036b1ffaa8afab5ef
author: Chris Moeller <[email protected]>
date: Fri Feb 28 12:05:33 EST 2014

Added a workaround for pattern 255 in the order list

--- a/dumb/src/it/readmod.c
+++ b/dumb/src/it/readmod.c
@@ -513,6 +513,7 @@
     {
         for (i = 0; i < 128; i++)
         {
+			if (sigdata->order[i] == IT_ORDER_END) continue;
             if (sigdata->order[i] > sigdata->n_patterns)
                 sigdata->n_patterns = sigdata->order[i];
         }