summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-12-12 09:50:22 +0100
committerbunnei <bunneidev@gmail.com>2020-12-29 01:33:48 +0100
commit916438a9de378f97129df7f5a979bb1a406cda9f (patch)
tree0ed01b4d414cc649595db93111a973263a8922b3 /src/core
parentvideo_core: gpu: Implement synchronous mode using threaded GPU. (diff)
downloadyuzu-916438a9de378f97129df7f5a979bb1a406cda9f.tar
yuzu-916438a9de378f97129df7f5a979bb1a406cda9f.tar.gz
yuzu-916438a9de378f97129df7f5a979bb1a406cda9f.tar.bz2
yuzu-916438a9de378f97129df7f5a979bb1a406cda9f.tar.lz
yuzu-916438a9de378f97129df7f5a979bb1a406cda9f.tar.xz
yuzu-916438a9de378f97129df7f5a979bb1a406cda9f.tar.zst
yuzu-916438a9de378f97129df7f5a979bb1a406cda9f.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/core.cpp2
-rw-r--r--src/core/settings.cpp5
-rw-r--r--src/core/settings.h3
3 files changed, 1 insertions, 9 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index 0961c0819..4dc31ce66 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -159,7 +159,7 @@ struct System::Impl {
device_memory = std::make_unique<Core::DeviceMemory>();
is_multicore = Settings::values.use_multi_core.GetValue();
- is_async_gpu = is_multicore || Settings::values.use_asynchronous_gpu_emulation.GetValue();
+ is_async_gpu = Settings::values.use_asynchronous_gpu_emulation.GetValue();
kernel.SetMulticore(is_multicore);
cpu_manager.SetMulticore(is_multicore);
diff --git a/src/core/settings.cpp b/src/core/settings.cpp
index 47d9ecf9a..39306509a 100644
--- a/src/core/settings.cpp
+++ b/src/core/settings.cpp
@@ -148,9 +148,4 @@ void RestoreGlobalState(bool is_powered_on) {
values.motion_enabled.SetGlobal(true);
}
-void Sanitize() {
- values.use_asynchronous_gpu_emulation.SetValue(
- values.use_asynchronous_gpu_emulation.GetValue() || values.use_multi_core.GetValue());
-}
-
} // namespace Settings
diff --git a/src/core/settings.h b/src/core/settings.h
index d5f8d2b7e..0cd3c0c84 100644
--- a/src/core/settings.h
+++ b/src/core/settings.h
@@ -257,7 +257,4 @@ void LogSettings();
// Restore the global state of all applicable settings in the Values struct
void RestoreGlobalState(bool is_powered_on);
-// Fixes settings that are known to cause issues with the emulator
-void Sanitize();
-
} // namespace Settings