Skip to content

Commit

Permalink
Merge pull request #11895 from JosJuice/android-no-host-check
Browse files Browse the repository at this point in the history
Android: Temporarily disable host thread check
  • Loading branch information
AdmiralCurtiss committed Jun 6, 2023
2 parents e1a986b + 361171f commit afc97ec
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Source/Core/Core/Core.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit afc97ec

Please sign in to comment.