diff --git a/src/core/hle/service/nvnflinger/hardware_composer.cpp b/src/core/hle/service/nvnflinger/hardware_composer.cpp index bc86a7c44a..296527c010 100644 --- a/src/core/hle/service/nvnflinger/hardware_composer.cpp +++ b/src/core/hle/service/nvnflinger/hardware_composer.cpp @@ -3,7 +3,9 @@ #include #include +#include +#include "common/common_types.h" #include "common/microprofile.h" #include "core/hle/service/nvdrv/devices/nvdisp_disp0.h" #include "core/hle/service/nvnflinger/buffer_item.h" diff --git a/src/suyu/configuration/configure_debug.cpp b/src/suyu/configuration/configure_debug.cpp index 6f9bb36340..709eed2d8f 100644 --- a/src/suyu/configuration/configure_debug.cpp +++ b/src/suyu/configuration/configure_debug.cpp @@ -112,7 +112,7 @@ void ConfigureDebug::ApplyConfiguration() { Settings::values.extended_logging = ui->extended_logging->isChecked(); Settings::values.perform_vulkan_check = ui->perform_vulkan_check->isChecked(); UISettings::values.disable_web_applet = ui->disable_web_applet->isChecked(); - Debugger::ToggleConsole(); + DebuggerYuzu::ToggleConsole(); Common::Log::Filter filter; filter.ParseFilterString(Settings::values.log_filter.GetValue()); Common::Log::SetGlobalFilter(filter); diff --git a/src/suyu/debugger/console.cpp b/src/suyu/debugger/console.cpp index 26a93ea918..7723d38eff 100644 --- a/src/suyu/debugger/console.cpp +++ b/src/suyu/debugger/console.cpp @@ -11,7 +11,7 @@ #include "suyu/debugger/console.h" #include "suyu/uisettings.h" -namespace Debugger { +namespace DebuggerYuzu { void ToggleConsole() { static bool console_shown = false; if (console_shown == UISettings::values.show_console.GetValue()) { @@ -46,4 +46,4 @@ void ToggleConsole() { SetColorConsoleBackendEnabled(UISettings::values.show_console.GetValue()); #endif } -} // namespace Debugger +} // namespace DebuggerYuzu diff --git a/src/suyu/debugger/console.h b/src/suyu/debugger/console.h index 2491d1ec14..fa40d48ec5 100644 --- a/src/suyu/debugger/console.h +++ b/src/suyu/debugger/console.h @@ -3,11 +3,11 @@ #pragma once -namespace Debugger { +namespace DebuggerYuzu { /** * Uses the WINAPI to hide or show the stderr console. This function is a placeholder until we can * get a real qt logging window which would work for all platforms. */ void ToggleConsole(); -} // namespace Debugger +} // namespace DebuggerYuzu diff --git a/src/suyu/main.cpp b/src/suyu/main.cpp index 063d2d0e6c..794a4d5d2f 100644 --- a/src/suyu/main.cpp +++ b/src/suyu/main.cpp @@ -1424,7 +1424,7 @@ void GMainWindow::RestoreUIState() { ui->action_Show_Status_Bar->setChecked(UISettings::values.show_status_bar.GetValue()); ui->action_Show_Folders_In_List->setChecked(UISettings::values.show_folders_in_list.GetValue()); statusBar()->setVisible(ui->action_Show_Status_Bar->isChecked()); - Debugger::ToggleConsole(); + DebuggerYuzu::ToggleConsole(); } void GMainWindow::OnAppFocusStateChanged(Qt::ApplicationState state) {