summaryrefslogtreecommitdiff
path: root/src/KingSystem/System/VFR.cpp
diff options
context:
space:
mode:
authorBriggs Baltzell <b3apollo13@gmail.com>2023-07-01 15:29:40 -0500
committerGitHub <noreply@github.com>2023-07-01 21:29:40 +0100
commitfd527f92164b8efdb746cffcf23c4f033fbffa76 (patch)
tree492976adfdf031252c85de91a185bfd625738a0c /src/KingSystem/System/VFR.cpp
parentbdd6e57d63bde1714fb42197ac4080833ac6b572 (diff)
Added VFR::getDeltaFrame (#122)
* Added getDeltaFrame and changed getDeltaTime * Replaced getDeltaTime usages with getDeltaFrame * Moved getDeltaTime above getDeltaFrame
Diffstat (limited to 'src/KingSystem/System/VFR.cpp')
-rw-r--r--src/KingSystem/System/VFR.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/KingSystem/System/VFR.cpp b/src/KingSystem/System/VFR.cpp
index e0f6d8b2..f2ae8d1f 100644
--- a/src/KingSystem/System/VFR.cpp
+++ b/src/KingSystem/System/VFR.cpp
@@ -189,7 +189,7 @@ void VFR::ScopedDeltaSetter::set(u32 include_mask, u32 exclude_mask) {
f32 raw_delta;
const auto delta = vfr->getDeltaAndSetMin(&raw_delta, include_mask, exclude_mask);
- const auto time = vfr->getDeltaTime();
+ const auto time = vfr->getDeltaFrame();
if (delta != time) {
mPreviousDelta = raw_delta;
if (delta > 0.0)