diff options
| author | 2018-08-12 22:31:55 -0400 | |
|---|---|---|
| committer | 2018-08-12 22:31:55 -0400 | |
| commit | fecffeb0ddedeef0f6223e8a2c53cca3baac70ad (patch) | |
| tree | ebd7cbbb35fd07e34f6397cde76027533d7200f4 /src/core/core_cpu.cpp | |
| parent | Merge pull request #1036 from lioncash/thread (diff) | |
| parent | CPU/Timing: Use an approximated amortized amount of ticks when advancing timing. (diff) | |
| download | yuzu-fecffeb0ddedeef0f6223e8a2c53cca3baac70ad.tar.gz yuzu-fecffeb0ddedeef0f6223e8a2c53cca3baac70ad.tar.xz yuzu-fecffeb0ddedeef0f6223e8a2c53cca3baac70ad.zip | |
Merge pull request #1043 from Subv/timing
Use an approximated amortized amount of ticks when advancing timing.
Diffstat (limited to 'src/core/core_cpu.cpp')
| -rw-r--r-- | src/core/core_cpu.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/core_cpu.cpp b/src/core/core_cpu.cpp index 9b306faf6..b042ee02b 100644 --- a/src/core/core_cpu.cpp +++ b/src/core/core_cpu.cpp | |||
| @@ -91,6 +91,7 @@ void Cpu::RunLoop(bool tight_loop) { | |||
| 91 | LOG_TRACE(Core, "Core-{} idling", core_index); | 91 | LOG_TRACE(Core, "Core-{} idling", core_index); |
| 92 | 92 | ||
| 93 | if (IsMainCore()) { | 93 | if (IsMainCore()) { |
| 94 | // TODO(Subv): Only let CoreTiming idle if all 4 cores are idling. | ||
| 94 | CoreTiming::Idle(); | 95 | CoreTiming::Idle(); |
| 95 | CoreTiming::Advance(); | 96 | CoreTiming::Advance(); |
| 96 | } | 97 | } |