From 311cfe92237666eb3b13637e197eab233422a92a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Mon, 31 Jul 2017 15:38:39 +0800 Subject: [PATCH] Core: Reset s_wants_determinism on shutdown Without doing this, Core::WantsDeterminism() will keep returning true and some GUI options may be disabled for no reason. --- Source/Core/Core/Core.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Core/Core/Core.cpp b/Source/Core/Core/Core.cpp index db77a1b2e4..422de26688 100644 --- a/Source/Core/Core/Core.cpp +++ b/Source/Core/Core/Core.cpp @@ -458,6 +458,7 @@ static void EmuThread(std::unique_ptr boot) s_is_booting.Clear(); s_is_started = false; s_is_stopping = false; + s_wants_determinism = false; if (s_on_stopped_callback) s_on_stopped_callback();