From b5ba51c60ad6e832b0bee1bee90346e1f8cb64b9 Mon Sep 17 00:00:00 2001 From: "Admiral H. Curtiss" Date: Fri, 23 Jun 2023 01:18:53 +0200 Subject: [PATCH] Core: Remove host thread assert in PauseAndLock(). Fixing all the places it's used turned out to be a more complicated task than anticipated. So let's remove this for now so we don't confuse users with cryptic error messages... --- Source/Core/Core/Core.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Source/Core/Core/Core.cpp b/Source/Core/Core/Core.cpp index 19bd249952..3d3166f4ea 100644 --- a/Source/Core/Core/Core.cpp +++ b/Source/Core/Core/Core.cpp @@ -796,7 +796,6 @@ void SaveScreenShot(std::string_view name) static bool PauseAndLock(Core::System& system, bool do_lock, bool unpause_on_unlock) { // WARNING: PauseAndLock is not fully threadsafe so is only valid on the Host Thread - ASSERT(IsHostThread()); if (!IsRunningAndStarted()) return true;