mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 15:45:46 +00:00
Core_Timing: Address Feedback and suppress warnings.
This commit is contained in:
parent
96f2b16356
commit
e0650a2034
5 changed files with 12 additions and 13 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue