diff options
author | bunnei <bunneidev@gmail.com> | 2018-09-09 22:34:23 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-09 22:34:23 -0400 |
commit | f9e468d891ecd02b29893302bf6dd26524155534 (patch) | |
tree | 58571e67a264065f74816832ebfe60f1fc44ebc7 /src/yuzu_cmd/yuzu.cpp | |
parent | 7ddd5b765d0410cbeea1ca11f36852010a98b8b1 (diff) | |
parent | 975226e7ff94eee67cf53defd356686356946020 (diff) |
Merge pull request #1258 from tgsm/fix-sdl-logging
yuzu-cmd: fix SDL logging
Diffstat (limited to 'src/yuzu_cmd/yuzu.cpp')
-rw-r--r-- | src/yuzu_cmd/yuzu.cpp | 5 |
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(); }); |