yuzu-cmd: fix SDL logging

master
tgsm 2018-09-06 21:03:41 +07:00
parent a8974f0556
commit 975226e7ff
1 changed files with 3 additions and 2 deletions

@ -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(); });