go back to release mode

This commit is contained in:
tildearrow 2022-12-23 14:35:56 -05:00
parent 3f1e9644dd
commit 07697bc888
3 changed files with 1 additions and 6 deletions

View File

@ -11,7 +11,7 @@ defaults:
shell: bash
env:
BUILD_TYPE: Debug
BUILD_TYPE: Release
jobs:
build:

View File

@ -1,5 +1,4 @@
# to-do for 0.6pre2
- YM2612 CSM (no DualPCM)
- port op macro code to all other OPN chips
- bug fixes

View File

@ -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?!