summarylogtreecommitdiffstats
path: root/0002-remove-logging-from-console-main.patch
blob: 92638087667f791946a6fe23d3996bc604318fed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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