Merge pull request #11895 from JosJuice/android-no-host-check

Android: Temporarily disable host thread check
This commit is contained in:
Admiral H. Curtiss 2023-06-06 18:56:41 +02:00 committed by GitHub
commit afc97ec20f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -796,8 +796,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;