diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-10-11 20:44:14 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-10-11 20:44:14 +0200 |
commit | e0650a2034026d8292196128d2f9decb50eeb0f3 (patch) | |
tree | 59c51153a985e7fb66e62c812250c6dacd69a82c /src/core/cpu_core_manager.cpp | |
parent | Core Timing: Correct Idle and remove lefting pragma (diff) | |
download | yuzu-e0650a2034026d8292196128d2f9decb50eeb0f3.tar yuzu-e0650a2034026d8292196128d2f9decb50eeb0f3.tar.gz yuzu-e0650a2034026d8292196128d2f9decb50eeb0f3.tar.bz2 yuzu-e0650a2034026d8292196128d2f9decb50eeb0f3.tar.lz yuzu-e0650a2034026d8292196128d2f9decb50eeb0f3.tar.xz yuzu-e0650a2034026d8292196128d2f9decb50eeb0f3.tar.zst yuzu-e0650a2034026d8292196128d2f9decb50eeb0f3.zip |
Diffstat (limited to 'src/core/cpu_core_manager.cpp')
-rw-r--r-- | src/core/cpu_core_manager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/cpu_core_manager.cpp b/src/core/cpu_core_manager.cpp index e022e6a60..16b384076 100644 --- a/src/core/cpu_core_manager.cpp +++ b/src/core/cpu_core_manager.cpp @@ -130,10 +130,10 @@ void CpuCoreManager::RunLoop(bool tight_loop) { keep_running = false; for (active_core = 0; active_core < NUM_CPU_CORES; ++active_core) { core_timing.SwitchContext(active_core); - if (core_timing.CurrentContextCanRun()) { + if (core_timing.CanCurrentContextRun()) { cores[active_core]->RunLoop(tight_loop); } - keep_running |= core_timing.CurrentContextCanRun(); + keep_running |= core_timing.CanCurrentContextRun(); } } while (keep_running); |