Core: Assert that only the Host thread may call PauseAndLock().

This commit is contained in:
Admiral H. Curtiss 2023-06-02 18:00:51 +02:00
commit b3c9f49cbe
No known key found for this signature in database
GPG key ID: F051B4C4044F33FB
9 changed files with 65 additions and 32 deletions

View file

@ -123,7 +123,7 @@ int main(int argc, char* argv[])
}
#endif
Host::GetInstance()->DeclareAsHostThread();
Core::DeclareAsHostThread();
#ifdef __APPLE__
// On macOS, a command line option matching the format "-psn_X_XXXXXX" is passed when