summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlat9nq <lat9nq@virginia.edu>2020-07-14 19:46:42 +0200
committerlat9nq <lat9nq@virginia.edu>2020-07-14 19:46:42 +0200
commita683e42516a70e7ff6691662556ba56d25b4189c (patch)
treef9799e25a25cd3c2c16f0352c506d4e04ba4557b
parentsettings: Move settings sanitization to its own function (diff)
downloadyuzu-a683e42516a70e7ff6691662556ba56d25b4189c.tar
yuzu-a683e42516a70e7ff6691662556ba56d25b4189c.tar.gz
yuzu-a683e42516a70e7ff6691662556ba56d25b4189c.tar.bz2
yuzu-a683e42516a70e7ff6691662556ba56d25b4189c.tar.lz
yuzu-a683e42516a70e7ff6691662556ba56d25b4189c.tar.xz
yuzu-a683e42516a70e7ff6691662556ba56d25b4189c.tar.zst
yuzu-a683e42516a70e7ff6691662556ba56d25b4189c.zip
-rw-r--r--src/core/settings.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/settings.cpp b/src/core/settings.cpp
index 38f0789a0..64a3c69d3 100644
--- a/src/core/settings.cpp
+++ b/src/core/settings.cpp
@@ -186,8 +186,7 @@ void RestoreGlobalState() {
void Sanitize() {
values.use_asynchronous_gpu_emulation.SetValue(
- values.use_asynchronous_gpu_emulation.GetValue() ||
- values.use_multi_core.GetValue());
+ values.use_asynchronous_gpu_emulation.GetValue() || values.use_multi_core.GetValue());
}
} // namespace Settings