From df5adae37490fa47576c9c7826dd16ce29c081dc Mon Sep 17 00:00:00 2001 From: Chris Moeller Date: Thu, 7 Nov 2013 18:19:53 -0800 Subject: [PATCH] Fixed IT mixing Dxx regular volume slide with cx/dx volume column slide effect --- Frameworks/Dumb/dumb/src/it/itrender.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Frameworks/Dumb/dumb/src/it/itrender.c b/Frameworks/Dumb/dumb/src/it/itrender.c index 1b26428a2..a39c97eb5 100644 --- a/Frameworks/Dumb/dumb/src/it/itrender.c +++ b/Frameworks/Dumb/dumb/src/it/itrender.c @@ -2072,7 +2072,7 @@ static void post_process_it_volpan(DUMB_IT_SIGRENDERER *sigrenderer, IT_ENTRY *e v = channel->lastvolslide; channel->lastvolslide = v; /* = effect Dx0 where x == entry->volpan - 85 */ - channel->volslide = v; + channel->volslide += v; } else if (entry->volpan <= 104) { /* Volume slide down */ unsigned char v = entry->volpan - 95; @@ -2080,7 +2080,7 @@ static void post_process_it_volpan(DUMB_IT_SIGRENDERER *sigrenderer, IT_ENTRY *e v = channel->lastvolslide; channel->lastvolslide = v; /* = effect D0x where x == entry->volpan - 95 */ - channel->volslide = -v; + channel->volslide -= v; } else if (entry->volpan <= 114) { /* Portamento down */ unsigned char v = (entry->volpan - 105) << 2;