summaryrefslogtreecommitdiff
path: root/src/core/cpu_manager.h
diff options
context:
space:
mode:
authorGravatar Lioncash2020-07-16 13:28:10 -0400
committerGravatar Lioncash2020-07-16 13:30:56 -0400
commitf0125b2be8ba34aaf07b8c9d04b866d29ceea53a (patch)
treec9fd8ce00f4ff0fbec3c5767db1dad5d22327085 /src/core/cpu_manager.h
parentcpu_manager: Remove unused preemption_count variable (diff)
downloadyuzu-f0125b2be8ba34aaf07b8c9d04b866d29ceea53a.tar.gz
yuzu-f0125b2be8ba34aaf07b8c9d04b866d29ceea53a.tar.xz
yuzu-f0125b2be8ba34aaf07b8c9d04b866d29ceea53a.zip
cpu_manager: Mark function getters as static
All these do are return std::function instances of static functions, so these can be used without an instance of the CPU manager.
Diffstat (limited to 'src/core/cpu_manager.h')
-rw-r--r--src/core/cpu_manager.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/cpu_manager.h b/src/core/cpu_manager.h
index 33fb43cfa..17420c941 100644
--- a/src/core/cpu_manager.h
+++ b/src/core/cpu_manager.h
@@ -49,9 +49,9 @@ public:
49 49
50 void Pause(bool paused); 50 void Pause(bool paused);
51 51
52 std::function<void(void*)> GetGuestThreadStartFunc(); 52 static std::function<void(void*)> GetGuestThreadStartFunc();
53 std::function<void(void*)> GetIdleThreadStartFunc(); 53 static std::function<void(void*)> GetIdleThreadStartFunc();
54 std::function<void(void*)> GetSuspendThreadStartFunc(); 54 static std::function<void(void*)> GetSuspendThreadStartFunc();
55 void* GetStartFuncParamater(); 55 void* GetStartFuncParamater();
56 56
57 void PreemptSingleCore(bool from_running_enviroment = true); 57 void PreemptSingleCore(bool from_running_enviroment = true);