From de935c3aacf5e1c38191991afd330b8aed6495d9 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Sun, 23 Jun 2024 21:54:50 -0500 Subject: [PATCH] FUDGE... --- src/engine/fileOps/xm.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/engine/fileOps/xm.cpp b/src/engine/fileOps/xm.cpp index 5eea34652..bc4589046 100644 --- a/src/engine/fileOps/xm.cpp +++ b/src/engine/fileOps/xm.cpp @@ -83,12 +83,6 @@ bool DivEngine::loadXM(unsigned char* file, size_t len) { logV("channels: %d",totalChans); - if (totalChans<0) { - logE("invalid channel count!"); - lastError="invalid channel count"; - delete[] file; - return false; - } if (totalChans>127) { logE("invalid channel count!"); lastError="invalid channel count";