shithub: ft²

Download patch

ref: 6f842e9c17d3c27fc275793670ae8bf127c25fad
parent: a15c14e3ae4ac3df361153d90b0a1c06afd98704
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;