diff options
| author | 2019-04-02 09:22:53 -0400 | |
|---|---|---|
| committer | 2019-10-15 11:55:12 -0400 | |
| commit | fcc6b34fff3c9322a35e6457a699e70585a7e014 (patch) | |
| tree | 7fbd96994170ff2707f65e42dc6a4832c6531d07 /src/core/core.cpp | |
| parent | Comment and reorganize the scheduler (diff) | |
| download | yuzu-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.cpp | 5 |
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 | ||
| 407 | void System::PrepareReschedule(s32 core_index) { | ||
| 408 | if (core_index >= 0) | ||
| 409 | CpuCore(core_index).PrepareReschedule(); | ||
| 410 | } | ||
| 411 | |||
| 407 | PerfStatsResults System::GetAndResetPerfStats() { | 412 | PerfStatsResults System::GetAndResetPerfStats() { |
| 408 | return impl->GetAndResetPerfStats(); | 413 | return impl->GetAndResetPerfStats(); |
| 409 | } | 414 | } |