summaryrefslogtreecommitdiffstats
path: root/src/core/cpu_manager.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-07-28 03:57:03 +0200
committerLioncash <mathew1800@gmail.com>2020-07-28 03:57:05 +0200
commit989ad52dc1c46f1870a1a8431f7e3c669dceaf60 (patch)
tree28069710fc2341dd4798855b9fd7289e4de843a2 /src/core/cpu_manager.cpp
parentMerge pull request #4419 from lioncash/initializer (diff)
downloadyuzu-989ad52dc1c46f1870a1a8431f7e3c669dceaf60.tar
yuzu-989ad52dc1c46f1870a1a8431f7e3c669dceaf60.tar.gz
yuzu-989ad52dc1c46f1870a1a8431f7e3c669dceaf60.tar.bz2
yuzu-989ad52dc1c46f1870a1a8431f7e3c669dceaf60.tar.lz
yuzu-989ad52dc1c46f1870a1a8431f7e3c669dceaf60.tar.xz
yuzu-989ad52dc1c46f1870a1a8431f7e3c669dceaf60.tar.zst
yuzu-989ad52dc1c46f1870a1a8431f7e3c669dceaf60.zip
Diffstat (limited to '')
-rw-r--r--src/core/cpu_manager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/cpu_manager.cpp b/src/core/cpu_manager.cpp
index 32afcf3ae..358943429 100644
--- a/src/core/cpu_manager.cpp
+++ b/src/core/cpu_manager.cpp
@@ -52,15 +52,15 @@ void CpuManager::Shutdown() {
}
std::function<void(void*)> CpuManager::GetGuestThreadStartFunc() {
- return std::function<void(void*)>(GuestThreadFunction);
+ return GuestThreadFunction;
}
std::function<void(void*)> CpuManager::GetIdleThreadStartFunc() {
- return std::function<void(void*)>(IdleThreadFunction);
+ return IdleThreadFunction;
}
std::function<void(void*)> CpuManager::GetSuspendThreadStartFunc() {
- return std::function<void(void*)>(SuspendThreadFunction);
+ return SuspendThreadFunction;
}
void CpuManager::GuestThreadFunction(void* cpu_manager_) {