aboutsummaryrefslogtreecommitdiff
path: root/src/core/cpu_core_manager.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-10-11 14:44:14 -0400
committerFernando Sahmkow <fsahmkow27@gmail.com>2019-10-11 14:44:14 -0400
commite0650a2034026d8292196128d2f9decb50eeb0f3 (patch)
tree59c51153a985e7fb66e62c812250c6dacd69a82c /src/core/cpu_core_manager.cpp
parent96f2b16356dfee3b4b1c75f8ef96d81e7923dfc9 (diff)
Core_Timing: Address Feedback and suppress warnings.
Diffstat (limited to 'src/core/cpu_core_manager.cpp')
-rw-r--r--src/core/cpu_core_manager.cpp4
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);