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
commit97669469d0122312dc91005b75718a3e64168e86 (patch)
tree59c51153a985e7fb66e62c812250c6dacd69a82c /src/core/cpu_core_manager.cpp
parentf2f4a797eec479fda00f8cef5f9bfcf5a77ae703 (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 e022e6a608..16b384076e 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);