shithub: dumb

Download patch

ref: 76ab0ba30b00f168ed421ecbae616e8e570c163f
parent: e9320b6d48769d669cbd402959a0982867c6319c
author: Todd Cope <xander4jesus@yahoo.com>
date: Sat Oct 7 12:05:23 EDT 2017

Fix garbled samples in old PSM, caused by uninitialized variable.

--- a/src/it/readoldpsm.c
+++ b/src/it/readoldpsm.c
@@ -111,7 +111,7 @@
         } else
             smp.finetune = 0;
 
-        smp.flags |= IT_SAMPLE_EXISTS;
+        smp.flags = IT_SAMPLE_EXISTS;
         if (flags & 0x41)
             continue;
         if (flags & 0x20)