Merge pull request #236 from AliceLR/fix-gdm-set-pan-position

Fix GDM set pan position effect.
This commit is contained in:
Ozkan Sezer
2020-11-17 11:55:02 +03:00
committed by GitHub

View File

@@ -140,7 +140,14 @@ void fix_effect(uint8 *fxt, uint8 *fxp)
*fxt = FX_FINE_VIBRATO;
break;
case 0x1e: /* special misc */
*fxt = *fxp = 0;
switch (MSN(*fxp)) {
case 0x8: /* set pan position */
*fxt = FX_EXTENDED;
break;
default:
*fxt = *fxp = 0;
break;
}
break;
case 0x1f:
*fxt = FX_S3M_BPM;