fixup! CPU: Make trace-to-file toggleable at runtime and in release builds

This commit is contained in:
Connor McLaughlin 2021-01-04 02:20:21 +10:00
parent c9b75f7490
commit 9ff8130e40
1 changed files with 2 additions and 0 deletions

View File

@ -80,7 +80,9 @@ void WriteToExecutionLog(const char* format, ...)
if (s_log_file)
{
std::vfprintf(s_log_file, format, ap);
#ifdef _DEBUG
std::fflush(s_log_file);
#endif
}
va_end(ap);