From f11175d117bd47edac8df56a96fea5b68fc3ef7e Mon Sep 17 00:00:00 2001 From: JosJuice Date: Tue, 6 Jun 2023 19:07:49 +0200 Subject: [PATCH] Revert "Android: Temporarily disable host thread check" This reverts commit 361171fce087cad73d94f0d9fd81a66069f9af4f. --- Source/Core/Core/Core.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Source/Core/Core/Core.cpp b/Source/Core/Core/Core.cpp index dbcca8a687..19bd249952 100644 --- a/Source/Core/Core/Core.cpp +++ b/Source/Core/Core/Core.cpp @@ -795,11 +795,8 @@ 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 -// TODO: Fix Android -#ifndef ANDROID + // WARNING: PauseAndLock is not fully threadsafe so is only valid on the Host Thread ASSERT(IsHostThread()); -#endif if (!IsRunningAndStarted()) return true;