Clean up cvars (rename, recategorize).

This commit is contained in:
gibbed
2019-08-03 22:53:58 -05:00
parent 9d924950cc
commit b2f62b1982
10 changed files with 21 additions and 21 deletions

View File

@@ -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);
}
}

View File

@@ -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 {