diff options
| author | 2020-07-16 13:28:10 -0400 | |
|---|---|---|
| committer | 2020-07-16 13:30:56 -0400 | |
| commit | f0125b2be8ba34aaf07b8c9d04b866d29ceea53a (patch) | |
| tree | c9fd8ce00f4ff0fbec3c5767db1dad5d22327085 /src/core/cpu_manager.h | |
| parent | cpu_manager: Remove unused preemption_count variable (diff) | |
| download | yuzu-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.h | 6 |
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); |