shithub: dumb

Download patch

ref: da31373331b91be6d6dd7e83a1e6eee94b0a585a
parent: 5945794aff46562478ff764a841e085448046125
author: Chris Moeller <[email protected]>
date: Mon Oct 7 04:11:57 EDT 2013

Fixed Asylum Music Format panning effect

--- a/dumb/src/it/readasy.c
+++ b/dumb/src/it/readasy.c
@@ -72,7 +72,14 @@
 				}
 
 				_dumb_it_xm_convert_effect( buffer[ pos + 2 ], buffer[ pos + 3 ], entry, 1 );
-
+                
+                // fixup
+                switch ( entry->effect ) {
+                    case IT_SET_PANNING:
+                        entry->effectvalue <<= 1;
+                        break;
+                }
+
 				if ( entry->mask ) ++entry;
 			}
 			pos += 4;