Fixed IT mixing Dxx regular volume slide with cx/dx volume column slide effect

CQTexperiment
Chris Moeller 2013-11-07 18:19:53 -08:00
parent f07374ecfe
commit df5adae374
1 changed files with 2 additions and 2 deletions

View File

@ -2072,7 +2072,7 @@ static void post_process_it_volpan(DUMB_IT_SIGRENDERER *sigrenderer, IT_ENTRY *e
v = channel->lastvolslide; v = channel->lastvolslide;
channel->lastvolslide = v; channel->lastvolslide = v;
/* = effect Dx0 where x == entry->volpan - 85 */ /* = effect Dx0 where x == entry->volpan - 85 */
channel->volslide = v; channel->volslide += v;
} else if (entry->volpan <= 104) { } else if (entry->volpan <= 104) {
/* Volume slide down */ /* Volume slide down */
unsigned char v = entry->volpan - 95; 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; v = channel->lastvolslide;
channel->lastvolslide = v; channel->lastvolslide = v;
/* = effect D0x where x == entry->volpan - 95 */ /* = effect D0x where x == entry->volpan - 95 */
channel->volslide = -v; channel->volslide -= v;
} else if (entry->volpan <= 114) { } else if (entry->volpan <= 114) {
/* Portamento down */ /* Portamento down */
unsigned char v = (entry->volpan - 105) << 2; unsigned char v = (entry->volpan - 105) << 2;