mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-29 17:15:40 +00:00
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 a new issue