2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Merge pull request #1258 from tgsm/fix-sdl-logging

yuzu-cmd: fix SDL logging
This commit is contained in:
bunnei 2018-09-09 22:34:23 -04:00 committed by GitHub
commit f9e468d891
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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