Revert "Android: Temporarily disable host thread check"
This reverts commit 361171fce0
.
This commit is contained in:
parent
03f2f57edf
commit
f11175d117
|
@ -795,11 +795,8 @@ void SaveScreenShot(std::string_view name)
|
||||||
|
|
||||||
static bool PauseAndLock(Core::System& system, bool do_lock, bool unpause_on_unlock)
|
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());
|
ASSERT(IsHostThread());
|
||||||
#endif
|
|
||||||
|
|
||||||
if (!IsRunningAndStarted())
|
if (!IsRunningAndStarted())
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue