summaryrefslogtreecommitdiffstats
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-04-02 15:22:53 +0200
committerFernandoS27 <fsahmkow27@gmail.com>2019-10-15 17:55:12 +0200
commitfcc6b34fff3c9322a35e6457a699e70585a7e014 (patch)
tree7fbd96994170ff2707f65e42dc6a4832c6531d07 /src/core/core.cpp
parentComment and reorganize the scheduler (diff)
downloadyuzu-fcc6b34fff3c9322a35e6457a699e70585a7e014.tar
yuzu-fcc6b34fff3c9322a35e6457a699e70585a7e014.tar.gz
yuzu-fcc6b34fff3c9322a35e6457a699e70585a7e014.tar.bz2
yuzu-fcc6b34fff3c9322a35e6457a699e70585a7e014.tar.lz
yuzu-fcc6b34fff3c9322a35e6457a699e70585a7e014.tar.xz
yuzu-fcc6b34fff3c9322a35e6457a699e70585a7e014.tar.zst
yuzu-fcc6b34fff3c9322a35e6457a699e70585a7e014.zip
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r--src/core/core.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index 5565840fd..4a95630bd 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -404,6 +404,11 @@ void System::PrepareReschedule() {
CurrentCpuCore().PrepareReschedule();
}
+void System::PrepareReschedule(s32 core_index) {
+ if (core_index >= 0)
+ CpuCore(core_index).PrepareReschedule();
+}
+
PerfStatsResults System::GetAndResetPerfStats() {
return impl->GetAndResetPerfStats();
}