mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Merge pull request #11895 from JosJuice/android-no-host-check
Android: Temporarily disable host thread check
This commit is contained in:
@ -797,7 +797,10 @@ 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;
|
||||||
|
Reference in New Issue
Block a user