shithub: ft²

Download patch

ref: faa77ae55b1ff4ce1a2d07385f03dc1d5db25c88
parent: fdcc53f651378abc003591a8e2371af7d6b393a1
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Thu May 4 00:18:25 EDT 2023

replayer: fix compiling with !HAS_MIDI

--- a/src/ft2_replayer.c
+++ b/src/ft2_replayer.c
@@ -1604,7 +1604,7 @@
 #ifdef HAS_MIDI
 	if (ch->midiVibDepth > 0 || ins->autoVibDepth > 0)
 #else
-	if (ins->vibDepth > 0)
+	if (ins->autoVibDepth > 0)
 #endif
 	{
 		uint16_t autoVibAmp;