yuzu-emu
/
yuzu
Archived
1
0
Fork 0

Core_Timing: Fix tests.

This commit is contained in:
Fernando Sahmkow 2019-10-12 07:23:08 -04:00
parent e0650a2034
commit 91f6333e23
1 changed files with 2 additions and 2 deletions

View File

@ -116,11 +116,11 @@ TEST_CASE("CoreTiming[FairSharing]", "[core]") {
keep_running = false; keep_running = false;
for (u32 active_core = 0; active_core < 4; ++active_core) { for (u32 active_core = 0; active_core < 4; ++active_core) {
core_timing.SwitchContext(active_core); core_timing.SwitchContext(active_core);
if (core_timing.CurrentContextCanRun()) { if (core_timing.CanCurrentContextRun()) {
core_timing.AddTicks(std::min<s64>(advances, core_timing.GetDowncount())); core_timing.AddTicks(std::min<s64>(advances, core_timing.GetDowncount()));
core_timing.Advance(); core_timing.Advance();
} }
keep_running |= core_timing.CurrentContextCanRun(); keep_running |= core_timing.CanCurrentContextRun();
} }
} while (keep_running); } while (keep_running);
u64 current_time_2 = core_timing.GetTicks(); u64 current_time_2 = core_timing.GetTicks();