mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
Core: Assert that only the Host thread may call PauseAndLock().
This commit is contained in:
parent
7bbd530eb5
commit
b3c9f49cbe
9 changed files with 65 additions and 32 deletions
|
@ -59,16 +59,6 @@ Host* Host::GetInstance()
|
|||
return s_instance;
|
||||
}
|
||||
|
||||
void Host::DeclareAsHostThread()
|
||||
{
|
||||
tls_is_host_thread = true;
|
||||
}
|
||||
|
||||
bool Host::IsHostThread()
|
||||
{
|
||||
return tls_is_host_thread;
|
||||
}
|
||||
|
||||
void Host::SetRenderHandle(void* handle)
|
||||
{
|
||||
m_render_to_main = Config::Get(Config::MAIN_RENDER_TO_MAIN);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue