summaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-10-12 13:23:08 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2019-10-12 13:23:08 +0200
commit91f6333e238eb3be972c4f5e1634948a0e414ba4 (patch)
tree468dda4167bacf9a029bb9bae9b828782d40bb22 /src/tests
parentCore_Timing: Address Feedback and suppress warnings. (diff)
downloadyuzu-91f6333e238eb3be972c4f5e1634948a0e414ba4.tar
yuzu-91f6333e238eb3be972c4f5e1634948a0e414ba4.tar.gz
yuzu-91f6333e238eb3be972c4f5e1634948a0e414ba4.tar.bz2
yuzu-91f6333e238eb3be972c4f5e1634948a0e414ba4.tar.lz
yuzu-91f6333e238eb3be972c4f5e1634948a0e414ba4.tar.xz
yuzu-91f6333e238eb3be972c4f5e1634948a0e414ba4.tar.zst
yuzu-91f6333e238eb3be972c4f5e1634948a0e414ba4.zip
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/core/core_timing.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/core/core_timing.cpp b/src/tests/core/core_timing.cpp
index 467eb4736..3443bf05e 100644
--- a/src/tests/core/core_timing.cpp
+++ b/src/tests/core/core_timing.cpp
@@ -116,11 +116,11 @@ TEST_CASE("CoreTiming[FairSharing]", "[core]") {
keep_running = false;
for (u32 active_core = 0; active_core < 4; ++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.Advance();
}
- keep_running |= core_timing.CurrentContextCanRun();
+ keep_running |= core_timing.CanCurrentContextRun();
}
} while (keep_running);
u64 current_time_2 = core_timing.GetTicks();