From 1ea872f6fb022c71b169c165f3a436a8557a83a4 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Wed, 2 Apr 2025 17:23:33 -0500 Subject: [PATCH] speed up .tfe loader --- src/engine/fileOps/tfm.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/engine/fileOps/tfm.cpp b/src/engine/fileOps/tfm.cpp index a96ee28be..fc3665dd2 100644 --- a/src/engine/fileOps/tfm.cpp +++ b/src/engine/fileOps/tfm.cpp @@ -47,7 +47,7 @@ class TFMRLEReader { rleTag=readCNoRLE(); tagLenLeft|=(rleTag&0x7F)<len) throw TFMEndOfFileException(this,len); @@ -111,7 +111,7 @@ public: while(l--) { unsigned char nextChar=readC(); b[i++]=nextChar; - logD("read next char: %x, index: %d",nextChar,i); + //logD("read next char: %x, index: %d",nextChar,i); } } @@ -150,7 +150,7 @@ public: void skip(size_t l) { // quick and dirty while (l--) { - logD("skipping l %d",l); + //logD("skipping l %d",l); readC(); } }