From 76f81f3ba4f7f5f67ec358c8820f5f94d5989f31 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Sun, 14 Jul 2024 17:19:08 -0500 Subject: [PATCH] XM kmport: E9x --- src/engine/fileOps/xm.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/engine/fileOps/xm.cpp b/src/engine/fileOps/xm.cpp index 6fca90aac..ef9f1540c 100644 --- a/src/engine/fileOps/xm.cpp +++ b/src/engine/fileOps/xm.cpp @@ -1073,6 +1073,10 @@ bool DivEngine::loadXM(unsigned char* file, size_t len) { p->data[j][effectCol[k]++]=0xe5; p->data[j][effectCol[k]++]=(effectVal&15)<<4; break; + case 0x9: + p->data[j][effectCol[k]++]=0x0c; + p->data[j][effectCol[k]++]=(effectVal&15); + break; case 0xc: p->data[j][effectCol[k]++]=0xec; p->data[j][effectCol[k]++]=MAX(1,effectVal&15);