fixup! CPU: Make trace-to-file toggleable at runtime and in release builds
This commit is contained in:
parent
c9b75f7490
commit
9ff8130e40
|
@ -80,7 +80,9 @@ void WriteToExecutionLog(const char* format, ...)
|
||||||
if (s_log_file)
|
if (s_log_file)
|
||||||
{
|
{
|
||||||
std::vfprintf(s_log_file, format, ap);
|
std::vfprintf(s_log_file, format, ap);
|
||||||
|
#ifdef _DEBUG
|
||||||
std::fflush(s_log_file);
|
std::fflush(s_log_file);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
va_end(ap);
|
va_end(ap);
|
||||||
|
|
Loading…
Reference in New Issue