summaryrefslogtreecommitdiff
path: root/src/yuzu/debugger/console.cpp
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2021-06-28 17:32:24 -0400
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2021-06-28 19:13:53 -0400
commit7a8de138df35aecf760402a6b8097b4d6e0e8178 (patch)
treeb426f0e41c32ec5fa62974dd6dd8444548040749 /src/yuzu/debugger/console.cpp
parentb91b76df4fe27d781bd95ddb89b78ff54df57029 (diff)
yuzu qt: Make most UISettings a BasicSetting
For simple primitive settings, moves their defaults and labels to definition time. Also fixes typo and clang-format yuzu qt: config: Fix rng_seed
Diffstat (limited to 'src/yuzu/debugger/console.cpp')
-rw-r--r--src/yuzu/debugger/console.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu/debugger/console.cpp b/src/yuzu/debugger/console.cpp
index c11a326ac..22ca1285d 100644
--- a/src/yuzu/debugger/console.cpp
+++ b/src/yuzu/debugger/console.cpp
@@ -15,10 +15,10 @@
namespace Debugger {
void ToggleConsole() {
static bool console_shown = false;
- if (console_shown == UISettings::values.show_console) {
+ if (console_shown == UISettings::values.show_console.GetValue()) {
return;
} else {
- console_shown = UISettings::values.show_console;
+ console_shown = UISettings::values.show_console.GetValue();
}
#if defined(_WIN32) && !defined(_DEBUG)