mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-09 03:58:06 +03:00
Core: Remove Unused IsRunningInCurrentThread Function
This commit is contained in:
parent
85dee300b5
commit
11b628f250
2 changed files with 2 additions and 8 deletions
|
@ -210,11 +210,6 @@ bool IsRunningAndStarted()
|
||||||
return s_is_started && !s_is_stopping;
|
return s_is_started && !s_is_stopping;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool IsRunningInCurrentThread()
|
|
||||||
{
|
|
||||||
return IsRunning() && IsCPUThread();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool IsCPUThread()
|
bool IsCPUThread()
|
||||||
{
|
{
|
||||||
return tls_is_cpu_thread;
|
return tls_is_cpu_thread;
|
||||||
|
|
|
@ -138,9 +138,8 @@ void UndeclareAsHostThread();
|
||||||
std::string StopMessage(bool main_thread, std::string_view message);
|
std::string StopMessage(bool main_thread, std::string_view message);
|
||||||
|
|
||||||
bool IsRunning();
|
bool IsRunning();
|
||||||
bool IsRunningAndStarted(); // is running and the CPU loop has been entered
|
bool IsRunningAndStarted(); // is running and the CPU loop has been entered
|
||||||
bool IsRunningInCurrentThread(); // this tells us whether we are running in the CPU thread.
|
bool IsCPUThread(); // this tells us whether we are the CPU thread.
|
||||||
bool IsCPUThread(); // this tells us whether we are the CPU thread.
|
|
||||||
bool IsGPUThread();
|
bool IsGPUThread();
|
||||||
bool IsHostThread();
|
bool IsHostThread();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue