shithub: dumb

Download patch

ref: e0917efbb9707dea88f1f4c525be7c7647bd82a4
parent: 15b780d08f2ee6f50a9843dc7479349f4deee5a7
author: Chris Moeller <kode54@gmail.com>
date: Sat Sep 8 15:55:47 EDT 2012

Fixed IT tone portamento so it can continue without a destination note on every row

--- a/dumb/src/it/itrender.c
+++ b/dumb/src/it/itrender.c
@@ -1648,7 +1648,8 @@
 	if (channel->sample == 0 || channel->note >= 120)
 		return;
 
-	channel->destnote = IT_NOTE_OFF;
+	if (sigdata->flags & (IT_WAS_AN_S3M | IT_WAS_A_PTM | IT_WAS_A_669 | IT_WAS_AN_OKT))
+		channel->destnote = IT_NOTE_OFF;
 
 	if (channel->playing) {
 		for (i = 0; i < DUMB_IT_N_NNA_CHANNELS; i++) {