diff options
author | lat9nq <lat9nq@virginia.edu> | 2020-07-14 19:36:09 +0200 |
---|---|---|
committer | lat9nq <lat9nq@virginia.edu> | 2020-07-14 19:36:09 +0200 |
commit | 6d1477f214199d8a59b8ab0eea161e16463e35bb (patch) | |
tree | 874ff82a255f281dcf2d6b0a69e1f4e81248b74e /src/core/settings.cpp | |
parent | main: Set async gpu properly after loading per-game setting (diff) | |
download | yuzu-6d1477f214199d8a59b8ab0eea161e16463e35bb.tar yuzu-6d1477f214199d8a59b8ab0eea161e16463e35bb.tar.gz yuzu-6d1477f214199d8a59b8ab0eea161e16463e35bb.tar.bz2 yuzu-6d1477f214199d8a59b8ab0eea161e16463e35bb.tar.lz yuzu-6d1477f214199d8a59b8ab0eea161e16463e35bb.tar.xz yuzu-6d1477f214199d8a59b8ab0eea161e16463e35bb.tar.zst yuzu-6d1477f214199d8a59b8ab0eea161e16463e35bb.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/settings.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/settings.cpp b/src/core/settings.cpp index d3886c4ec..38f0789a0 100644 --- a/src/core/settings.cpp +++ b/src/core/settings.cpp @@ -184,4 +184,10 @@ void RestoreGlobalState() { values.sound_index.SetGlobal(true); } +void Sanitize() { + values.use_asynchronous_gpu_emulation.SetValue( + values.use_asynchronous_gpu_emulation.GetValue() || + values.use_multi_core.GetValue()); +} + } // namespace Settings |