summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authormitaclaw <140017135+mitaclaw@users.noreply.github.com>2024-03-18 07:18:41 -0700
committermitaclaw <140017135+mitaclaw@users.noreply.github.com>2024-03-18 07:18:41 -0700
commit11b628f2504bccbdba0cdad89f62a604e8d500c6 (patch)
tree534732963b286096ccee74d7ce1f66a7beca5373 /Source/Core
parent85dee300b5bbd8c64dee5e9305a626435bef2062 (diff)
Core: Remove Unused IsRunningInCurrentThread Function
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/Core.cpp5
-rw-r--r--Source/Core/Core/Core.h5
2 files changed, 2 insertions, 8 deletions
diff --git a/Source/Core/Core/Core.cpp b/Source/Core/Core/Core.cpp
index c7c392fa0e..99a3ee6e9a 100644
--- a/Source/Core/Core/Core.cpp
+++ b/Source/Core/Core/Core.cpp
@@ -210,11 +210,6 @@ bool IsRunningAndStarted()
return s_is_started && !s_is_stopping;
}
-bool IsRunningInCurrentThread()
-{
- return IsRunning() && IsCPUThread();
-}
-
bool IsCPUThread()
{
return tls_is_cpu_thread;
diff --git a/Source/Core/Core/Core.h b/Source/Core/Core/Core.h
index 90346d2cac..ab5ffe6226 100644
--- a/Source/Core/Core/Core.h
+++ b/Source/Core/Core/Core.h
@@ -138,9 +138,8 @@ void UndeclareAsHostThread();
std::string StopMessage(bool main_thread, std::string_view message);
bool IsRunning();
-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 IsRunningAndStarted(); // is running and the CPU loop has been entered
+bool IsCPUThread(); // this tells us whether we are the CPU thread.
bool IsGPUThread();
bool IsHostThread();