From 07697bc888e8dee592cb7c9b60f71a9920fc3f0b Mon Sep 17 00:00:00 2001 From: tildearrow Date: Fri, 23 Dec 2022 14:35:56 -0500 Subject: [PATCH] go back to release mode --- .github/workflows/build.yml | 2 +- TODO.md | 1 - src/log.cpp | 4 ---- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 420b08f82..bcd989c21 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,7 +11,7 @@ defaults: shell: bash env: - BUILD_TYPE: Debug + BUILD_TYPE: Release jobs: build: diff --git a/TODO.md b/TODO.md index c03365e45..2251b10db 100644 --- a/TODO.md +++ b/TODO.md @@ -1,5 +1,4 @@ # to-do for 0.6pre2 - YM2612 CSM (no DualPCM) -- port op macro code to all other OPN chips - bug fixes diff --git a/src/log.cpp b/src/log.cpp index ca4ca58b3..1611e688f 100644 --- a/src/log.cpp +++ b/src/log.cpp @@ -67,8 +67,6 @@ void appendLogBuf(const LogEntry& entry) { const char* msg=toWrite.c_str(); size_t len=toWrite.size(); - printf("appendLogBuf %d %d\n",logFilePosI,(int)len); - int remaining=(logFilePosO-logFilePosI-1)&TA_LOGFILE_BUF_SIZE; if (len>=(unsigned int)remaining) { @@ -93,8 +91,6 @@ int writeLog(int level, const char* msg, fmt::printf_args args) { time_t thisMakesNoSense=time(NULL); int pos=(logPosition.fetch_add(1))&TA_LOG_MASK; - printf("logPosition: %d\n",pos); - logEntries[pos].text.assign(fmt::vsprintf(msg,args)); // why do I have to pass a pointer // can't I just pass the time_t directly?!