Merge pull request #11987 from AdmiralCurtiss/remove-assert-host

Core: Remove host thread assert in PauseAndLock().
This commit is contained in:
JosJuice
2023-06-23 09:36:09 +02:00
committed by GitHub

View File

@ -796,7 +796,6 @@ 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
ASSERT(IsHostThread());
if (!IsRunningAndStarted())
return true;