summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortgsm <thomas.gresham@hotmail.com>2018-09-07 03:03:41 +0200
committertgsm <thomas.gresham@hotmail.com>2018-09-08 09:12:47 +0200
commit975226e7ff94eee67cf53defd356686356946020 (patch)
tree294add529463151c383c9fcd79c6ddab395878d7
parentvideo_core: Arithmetic overflow warning fix for gl_rasterizer (#1262) (diff)
downloadyuzu-975226e7ff94eee67cf53defd356686356946020.tar
yuzu-975226e7ff94eee67cf53defd356686356946020.tar.gz
yuzu-975226e7ff94eee67cf53defd356686356946020.tar.bz2
yuzu-975226e7ff94eee67cf53defd356686356946020.tar.lz
yuzu-975226e7ff94eee67cf53defd356686356946020.tar.xz
yuzu-975226e7ff94eee67cf53defd356686356946020.tar.zst
yuzu-975226e7ff94eee67cf53defd356686356946020.zip
-rw-r--r--src/yuzu_cmd/yuzu.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/yuzu_cmd/yuzu.cpp b/src/yuzu_cmd/yuzu.cpp
index 173ac0e0f..b1c364fbb 100644
--- a/src/yuzu_cmd/yuzu.cpp
+++ b/src/yuzu_cmd/yuzu.cpp
@@ -82,6 +82,9 @@ int main(int argc, char** argv) {
int option_index = 0;
bool use_gdbstub = Settings::values.use_gdbstub;
u32 gdb_port = static_cast<u32>(Settings::values.gdbstub_port);
+
+ InitializeLogging();
+
char* endarg;
#ifdef _WIN32
int argc_w;
@@ -144,8 +147,6 @@ int main(int argc, char** argv) {
LocalFree(argv_w);
#endif
- InitializeLogging();
-
MicroProfileOnThreadCreate("EmuThread");
SCOPE_EXIT({ MicroProfileShutdown(); });