From 219c5a052231904b64a9acf212807085f0a02b80 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Tue, 15 Mar 2022 04:23:27 -0500 Subject: [PATCH] MOD import: add some stereo separation --- src/engine/fileOps.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/engine/fileOps.cpp b/src/engine/fileOps.cpp index d02a22c74..7c93b4237 100644 --- a/src/engine/fileOps.cpp +++ b/src/engine/fileOps.cpp @@ -1434,6 +1434,7 @@ bool DivEngine::loadMod(unsigned char* file, size_t len) { fxVal=0; // fall through case 4: // vibrato + // TODO: handle 0 value? if (fxVal==0) { if (setEffectState[2]<0) break; fxVal=setEffectState[2]; @@ -1463,7 +1464,8 @@ bool DivEngine::loadMod(unsigned char* file, size_t len) { data[row][3]=fxVal; break; case 15: // set speed - // TODO somehow handle VBlank tunes + // TODO: somehow handle VBlank tunes + // TODO: klisje is still broken, perhaps because there wasn't tempo set back then? if (fxVal>0x20) { writeFxCol(0xf0,fxVal); } else { @@ -1515,7 +1517,7 @@ bool DivEngine::loadMod(unsigned char* file, size_t len) { ds.systemLen=(chCount+3)/4; for(int i=0; i