From b18c29a1daf1f8250155dd753f790fd25e72f27b Mon Sep 17 00:00:00 2001 From: techmetx11 Date: Thu, 11 Apr 2024 16:05:54 +0000 Subject: [PATCH] Code formatting --- src/engine/fileOps/tfm.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/engine/fileOps/tfm.cpp b/src/engine/fileOps/tfm.cpp index 104b5e5d4..aedd557be 100644 --- a/src/engine/fileOps/tfm.cpp +++ b/src/engine/fileOps/tfm.cpp @@ -136,7 +136,7 @@ public: void skip(size_t l) { // quick and dirty while (l--) { - logD("skipping l %d", l); + logD("skipping l %d",l); readC(); } } @@ -336,7 +336,7 @@ bool DivEngine::loadTFM(unsigned char* file, size_t len) { // notes reader.read(patDataBuf, 256); - logD("parsing notes of pattern %d channel %d", i, j); + logD("parsing notes of pattern %d channel %d",i,j); for (int k=0; k<256; k++) { if (patDataBuf[k]==0) continue; else if (patDataBuf[k]==1) { @@ -360,18 +360,18 @@ bool DivEngine::loadTFM(unsigned char* file, size_t len) { pat->data[patLens[i]][5]=0x00; } // volume - reader.read(patDataBuf, 256); + reader.read(patDataBuf,256); - logD("parsing volumes of pattern %d channel %d", i, j); + logD("parsing volumes of pattern %d channel %d",i,j); for (int k=0; k<256; k++) { if (patDataBuf[k]==0) continue; else pat->data[k][3]=patDataBuf[k]*4; } // instrument - reader.read(patDataBuf, 256); + reader.read(patDataBuf,256); - logD("parsing instruments of pattern %d channel %d", i, j); + logD("parsing instruments of pattern %d channel %d",i,j); for (int k=0; k<256; k++) { if (patDataBuf[k]==0) continue; else { @@ -379,9 +379,9 @@ bool DivEngine::loadTFM(unsigned char* file, size_t len) { } } - logD("ignoring unused data of pattern %d channel %d", i, j); - reader.read(patDataBuf, 256); - reader.read(patDataBuf, 256); + logD("ignoring unused data of pattern %d channel %d",i,j); + reader.read(patDataBuf,256); + reader.read(patDataBuf,256); reader.skip(1536); }