From 361171fce087cad73d94f0d9fd81a66069f9af4f Mon Sep 17 00:00:00 2001 From: JosJuice Date: Tue, 6 Jun 2023 18:39:32 +0200 Subject: [PATCH] Android: Temporarily disable host thread check Very broken. Will investigate, but let's revert it for the time being. --- Source/Core/Core/Core.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Source/Core/Core/Core.cpp b/Source/Core/Core/Core.cpp index c73fe46fd9..ed918b8752 100644 --- a/Source/Core/Core/Core.cpp +++ b/Source/Core/Core/Core.cpp @@ -792,8 +792,11 @@ 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 +// WARNING: PauseAndLock is not fully threadsafe so is only valid on the Host Thread +// TODO: Fix Android +#ifndef ANDROID ASSERT(IsHostThread()); +#endif if (!IsRunningAndStarted()) return true;