diff --git a/src/yuzu/debugger/console.cpp b/src/yuzu/debugger/console.cpp index e3d2d975f8..320898f6af 100644 --- a/src/yuzu/debugger/console.cpp +++ b/src/yuzu/debugger/console.cpp @@ -14,6 +14,13 @@ namespace Debugger { void ToggleConsole() { + static bool console_shown = false; + if (console_shown == UISettings::values.show_console) { + return; + } else { + console_shown = UISettings::values.show_console; + } + #if defined(_WIN32) && !defined(_DEBUG) FILE* temp; if (UISettings::values.show_console) { diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 05a8ae6d21..9ce8d7c27e 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -908,8 +908,6 @@ void GMainWindow::UpdateUITheme() { #endif int main(int argc, char* argv[]) { - Log::AddBackend(std::make_unique()); - MicroProfileOnThreadCreate("Frontend"); SCOPE_EXIT({ MicroProfileShutdown(); });