diff options
| author | 2018-09-06 21:03:41 -0400 | |
|---|---|---|
| committer | 2018-09-08 03:12:47 -0400 | |
| commit | 975226e7ff94eee67cf53defd356686356946020 (patch) | |
| tree | 294add529463151c383c9fcd79c6ddab395878d7 /src | |
| parent | video_core: Arithmetic overflow warning fix for gl_rasterizer (#1262) (diff) | |
| download | yuzu-975226e7ff94eee67cf53defd356686356946020.tar.gz yuzu-975226e7ff94eee67cf53defd356686356946020.tar.xz yuzu-975226e7ff94eee67cf53defd356686356946020.zip | |
yuzu-cmd: fix SDL logging
Diffstat (limited to 'src')
| -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) { | |||
| 82 | int option_index = 0; | 82 | int option_index = 0; |
| 83 | bool use_gdbstub = Settings::values.use_gdbstub; | 83 | bool use_gdbstub = Settings::values.use_gdbstub; |
| 84 | u32 gdb_port = static_cast<u32>(Settings::values.gdbstub_port); | 84 | u32 gdb_port = static_cast<u32>(Settings::values.gdbstub_port); |
| 85 | |||
| 86 | InitializeLogging(); | ||
| 87 | |||
| 85 | char* endarg; | 88 | char* endarg; |
| 86 | #ifdef _WIN32 | 89 | #ifdef _WIN32 |
| 87 | int argc_w; | 90 | int argc_w; |
| @@ -144,8 +147,6 @@ int main(int argc, char** argv) { | |||
| 144 | LocalFree(argv_w); | 147 | LocalFree(argv_w); |
| 145 | #endif | 148 | #endif |
| 146 | 149 | ||
| 147 | InitializeLogging(); | ||
| 148 | |||
| 149 | MicroProfileOnThreadCreate("EmuThread"); | 150 | MicroProfileOnThreadCreate("EmuThread"); |
| 150 | SCOPE_EXIT({ MicroProfileShutdown(); }); | 151 | SCOPE_EXIT({ MicroProfileShutdown(); }); |
| 151 | 152 | ||