diff --git a/src/citra_qt/debugger/console.cpp b/src/citra_qt/debugger/console.cpp index 4cfd33a010..f405f81726 100644 --- a/src/citra_qt/debugger/console.cpp +++ b/src/citra_qt/debugger/console.cpp @@ -34,6 +34,12 @@ void ToggleConsole() { freopen_s(&temp, "NUL", "w", stderr); } } +#else + if (UISettings::values.show_console) { + Log::AddBackend(std::make_unique()); + } else { + Log::RemoveBackend(Log::ColorConsoleBackend::Name()); + } #endif } } // namespace Debugger diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp index 731c57f41d..ab1e3b5c39 100644 --- a/src/citra_qt/main.cpp +++ b/src/citra_qt/main.cpp @@ -1338,8 +1338,6 @@ void GMainWindow::SyncMenuUISettings() { #endif int main(int argc, char* argv[]) { - Log::AddBackend(std::make_unique()); - MicroProfileOnThreadCreate("Frontend"); SCOPE_EXIT({ MicroProfileShutdown(); });