diff options
| author | Briggs Baltzell <b3apollo13@gmail.com> | 2023-07-01 15:29:40 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-01 21:29:40 +0100 |
| commit | fd527f92164b8efdb746cffcf23c4f033fbffa76 (patch) | |
| tree | 492976adfdf031252c85de91a185bfd625738a0c /src/KingSystem/System/VFR.cpp | |
| parent | bdd6e57d63bde1714fb42197ac4080833ac6b572 (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.cpp | 2 |
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) |
