From 04be3ab77d6fdc0825e5f2a875144a7a09c137f8 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Sun, 14 Jul 2024 16:27:14 -0500 Subject: [PATCH] XM import: turn arp off --- src/engine/fileOps/xm.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/engine/fileOps/xm.cpp b/src/engine/fileOps/xm.cpp index dc19c0dac..619bf754a 100644 --- a/src/engine/fileOps/xm.cpp +++ b/src/engine/fileOps/xm.cpp @@ -424,6 +424,9 @@ bool DivEngine::loadXM(unsigned char* file, size_t len) { } } if (hasEffectVal) { + if (!hasEffect) { + doesArp[k]=true; + } effectVal=reader.readC(); if (effect==0xe) { switch (effectVal>>4) {