From 85b591f6f073caa0c36f4e13f63069787b44b487 Mon Sep 17 00:00:00 2001 From: David Marcec Date: Thu, 16 Jul 2020 18:51:32 +1000 Subject: [PATCH] Remove duplicate config --- src/video_core/shader/async_shaders.cpp | 1 + src/yuzu/configuration/config.cpp | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/video_core/shader/async_shaders.cpp b/src/video_core/shader/async_shaders.cpp index 84d86c32f..64fad46e7 100644 --- a/src/video_core/shader/async_shaders.cpp +++ b/src/video_core/shader/async_shaders.cpp @@ -36,6 +36,7 @@ void AsyncShaders::AllocateWorkers(std::size_t num_workers) { void AsyncShaders::FreeWorkers() { // Mark all threads to quit is_thread_exiting.store(true); + cv.notify_all(); for (auto& thread : worker_threads) { thread.join(); } diff --git a/src/yuzu/configuration/config.cpp b/src/yuzu/configuration/config.cpp index 4fef60fb2..805bb954b 100644 --- a/src/yuzu/configuration/config.cpp +++ b/src/yuzu/configuration/config.cpp @@ -1149,8 +1149,6 @@ void Config::SaveRendererValues() { Settings::values.use_assembly_shaders, false); WriteSettingGlobal(QStringLiteral("use_asynchronous_shaders"), Settings::values.use_asynchronous_shaders, false); - WriteSettingGlobal(QStringLiteral("use_asynchronous_shaders"), - Settings::values.use_asynchronous_shaders, false); WriteSettingGlobal(QStringLiteral("use_fast_gpu_time"), Settings::values.use_fast_gpu_time, true); WriteSettingGlobal(QStringLiteral("force_30fps_mode"), Settings::values.force_30fps_mode,