mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2025-08-08 12:28:43 +00:00
Merge commit 'c432641245
' into torzu-merging
This commit is contained in:
commit
7b0c1a84d8
5 changed files with 8 additions and 6 deletions
|
@ -3,7 +3,9 @@
|
||||||
|
|
||||||
#include <optional>
|
#include <optional>
|
||||||
#include <boost/container/small_vector.hpp>
|
#include <boost/container/small_vector.hpp>
|
||||||
|
#include <optional>
|
||||||
|
|
||||||
|
#include "common/common_types.h"
|
||||||
#include "common/microprofile.h"
|
#include "common/microprofile.h"
|
||||||
#include "core/hle/service/nvdrv/devices/nvdisp_disp0.h"
|
#include "core/hle/service/nvdrv/devices/nvdisp_disp0.h"
|
||||||
#include "core/hle/service/nvnflinger/buffer_item.h"
|
#include "core/hle/service/nvnflinger/buffer_item.h"
|
||||||
|
|
|
@ -112,7 +112,7 @@ void ConfigureDebug::ApplyConfiguration() {
|
||||||
Settings::values.extended_logging = ui->extended_logging->isChecked();
|
Settings::values.extended_logging = ui->extended_logging->isChecked();
|
||||||
Settings::values.perform_vulkan_check = ui->perform_vulkan_check->isChecked();
|
Settings::values.perform_vulkan_check = ui->perform_vulkan_check->isChecked();
|
||||||
UISettings::values.disable_web_applet = ui->disable_web_applet->isChecked();
|
UISettings::values.disable_web_applet = ui->disable_web_applet->isChecked();
|
||||||
Debugger::ToggleConsole();
|
DebuggerYuzu::ToggleConsole();
|
||||||
Common::Log::Filter filter;
|
Common::Log::Filter filter;
|
||||||
filter.ParseFilterString(Settings::values.log_filter.GetValue());
|
filter.ParseFilterString(Settings::values.log_filter.GetValue());
|
||||||
Common::Log::SetGlobalFilter(filter);
|
Common::Log::SetGlobalFilter(filter);
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
#include "suyu/debugger/console.h"
|
#include "suyu/debugger/console.h"
|
||||||
#include "suyu/uisettings.h"
|
#include "suyu/uisettings.h"
|
||||||
|
|
||||||
namespace Debugger {
|
namespace DebuggerYuzu {
|
||||||
void ToggleConsole() {
|
void ToggleConsole() {
|
||||||
static bool console_shown = false;
|
static bool console_shown = false;
|
||||||
if (console_shown == UISettings::values.show_console.GetValue()) {
|
if (console_shown == UISettings::values.show_console.GetValue()) {
|
||||||
|
@ -46,4 +46,4 @@ void ToggleConsole() {
|
||||||
SetColorConsoleBackendEnabled(UISettings::values.show_console.GetValue());
|
SetColorConsoleBackendEnabled(UISettings::values.show_console.GetValue());
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
} // namespace Debugger
|
} // namespace DebuggerYuzu
|
||||||
|
|
|
@ -3,11 +3,11 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
namespace Debugger {
|
namespace DebuggerYuzu {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Uses the WINAPI to hide or show the stderr console. This function is a placeholder until we can
|
* 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.
|
* get a real qt logging window which would work for all platforms.
|
||||||
*/
|
*/
|
||||||
void ToggleConsole();
|
void ToggleConsole();
|
||||||
} // namespace Debugger
|
} // namespace DebuggerYuzu
|
||||||
|
|
|
@ -1424,7 +1424,7 @@ void GMainWindow::RestoreUIState() {
|
||||||
ui->action_Show_Status_Bar->setChecked(UISettings::values.show_status_bar.GetValue());
|
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());
|
ui->action_Show_Folders_In_List->setChecked(UISettings::values.show_folders_in_list.GetValue());
|
||||||
statusBar()->setVisible(ui->action_Show_Status_Bar->isChecked());
|
statusBar()->setVisible(ui->action_Show_Status_Bar->isChecked());
|
||||||
Debugger::ToggleConsole();
|
DebuggerYuzu::ToggleConsole();
|
||||||
}
|
}
|
||||||
|
|
||||||
void GMainWindow::OnAppFocusStateChanged(Qt::ApplicationState state) {
|
void GMainWindow::OnAppFocusStateChanged(Qt::ApplicationState state) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue