diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 420b08f8..bcd989c2 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 c03365e4..2251b10d 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 ca4ca58b..1611e688 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?!