Core: Remove host thread assert in PauseAndLock().

Fixing all the places it's used turned out to be a more complicated task than anticipated. So let's remove this for now so we don't confuse users with cryptic error messages...
This commit is contained in:
Admiral H. Curtiss 2023-06-23 01:18:53 +02:00
parent 51dfc03805
commit b5ba51c60a
No known key found for this signature in database
GPG Key ID: F051B4C4044F33FB
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) 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
ASSERT(IsHostThread());
if (!IsRunningAndStarted()) if (!IsRunningAndStarted())
return true; return true;