Clean up cvars (rename, recategorize).
This commit is contained in:
@@ -37,7 +37,7 @@ DEFINE_string(
|
||||
log_file, "",
|
||||
"Logs are written to the given file (specify stdout for command line)",
|
||||
"Logging");
|
||||
DEFINE_bool(log_debugprint, false, "Dump the log to DebugPrint.", "Logging");
|
||||
DEFINE_bool(log_to_debugprint, false, "Dump the log to DebugPrint.", "Logging");
|
||||
DEFINE_bool(flush_log, true, "Flush log file after each log line batch.",
|
||||
"Logging");
|
||||
DEFINE_int32(
|
||||
@@ -151,7 +151,7 @@ class Logger {
|
||||
fwrite(buf, 1, size, file_);
|
||||
}
|
||||
|
||||
if (cvars::log_debugprint) {
|
||||
if (cvars::log_to_debugprint) {
|
||||
debugging::DebugPrint("%.*s", size, buf);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
#include "xenia/ui/microprofile_drawer.h"
|
||||
#endif // XE_OPTION_PROFILING_UI
|
||||
|
||||
DEFINE_bool(show_profiler, false, "Show profiling UI by default.", "Other");
|
||||
DEFINE_bool(show_profiler, false, "Show profiling UI by default.", "UI");
|
||||
|
||||
namespace xe {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user