summaryrefslogtreecommitdiff
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorGravatar Fernando Sahmkow2019-04-02 09:22:53 -0400
committerGravatar FernandoS272019-10-15 11:55:12 -0400
commitfcc6b34fff3c9322a35e6457a699e70585a7e014 (patch)
tree7fbd96994170ff2707f65e42dc6a4832c6531d07 /src/core/core.cpp
parentComment and reorganize the scheduler (diff)
downloadyuzu-fcc6b34fff3c9322a35e6457a699e70585a7e014.tar.gz
yuzu-fcc6b34fff3c9322a35e6457a699e70585a7e014.tar.xz
yuzu-fcc6b34fff3c9322a35e6457a699e70585a7e014.zip
Correct PrepareReschedule
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() {
404 CurrentCpuCore().PrepareReschedule(); 404 CurrentCpuCore().PrepareReschedule();
405} 405}
406 406
407void System::PrepareReschedule(s32 core_index) {
408 if (core_index >= 0)
409 CpuCore(core_index).PrepareReschedule();
410}
411
407PerfStatsResults System::GetAndResetPerfStats() { 412PerfStatsResults System::GetAndResetPerfStats() {
408 return impl->GetAndResetPerfStats(); 413 return impl->GetAndResetPerfStats();
409} 414}