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
commit 5b7fdfc7ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

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;