summarylogtreecommitdiffstats
path: root/0002-remove-logging-from-console-main.patch
diff options
context:
space:
mode:
Diffstat (limited to '0002-remove-logging-from-console-main.patch')
-rw-r--r--0002-remove-logging-from-console-main.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/0002-remove-logging-from-console-main.patch b/0002-remove-logging-from-console-main.patch
new file mode 100644
index 000000000000..92638087667f
--- /dev/null
+++ b/0002-remove-logging-from-console-main.patch
@@ -0,0 +1,34 @@
+From e1369b0785031eaf5c80064727c4ac59b3f39d7e Mon Sep 17 00:00:00 2001
+From: Sandy Carter <bwrsandman@gmail.com>
+Date: Sun, 19 Nov 2023 15:25:44 -0500
+Subject: [PATCH] remove logging from console main
+
+---
+ src/xenia/base/console_app_main_posix.cc | 5 -----
+ 1 file changed, 5 deletions(-)
+
+diff --git a/src/xenia/base/console_app_main_posix.cc b/src/xenia/base/console_app_main_posix.cc
+index 29a3ae6ab..9c8133449 100644
+--- a/src/xenia/base/console_app_main_posix.cc
++++ b/src/xenia/base/console_app_main_posix.cc
+@@ -22,9 +22,6 @@ extern "C" int main(int argc, char** argv) {
+ entry_info.positional_options);
+ }
+
+- // Initialize logging. Needs parsed cvars.
+- xe::InitializeLogging(entry_info.name);
+-
+ std::vector<std::string> args;
+ for (int n = 0; n < argc; n++) {
+ args.emplace_back(argv[n]);
+@@ -32,7 +29,5 @@ extern "C" int main(int argc, char** argv) {
+
+ int result = entry_info.entry_point(args);
+
+- xe::ShutdownLogging();
+-
+ return result;
+ }
+--
+2.42.1
+