shithub: dumb

Download patch

ref: 50e839d4f51e1ff6fcbe68d39519475d7da74c4a
parent: 4a26a05d107a1aee0cc21bf5a41344da35acc3bf
author: Chris Moeller <kode54@gmail.com>
date: Mon Sep 16 11:48:04 EDT 2013

Fixed 8xx effect for MODs, which have a range of 00...FF, not 00...7F or 80 or whatever

--- a/dumb/src/it/itrender.c
+++ b/dumb/src/it/itrender.c
@@ -2958,10 +2958,7 @@
 				break;
 			case IT_SET_PANNING:
 				if (sigdata->flags & IT_WAS_AN_XM) {
-					if (sigdata->flags & IT_WAS_A_MOD)
-						channel->truepan = entry->effectvalue*128;
-					else
-						channel->truepan = 32 + entry->effectvalue*64;
+					channel->truepan = 32 + entry->effectvalue*64;
 				} else {
 					if (sigdata->flags & IT_WAS_AN_S3M)
 						channel->pan = (entry->effectvalue + 1) >> 1;