Skip to content

Commit

Permalink
Moved getDeltaTime above getDeltaFrame
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGreatB3 committed Jun 30, 2023
1 parent 29c47d9 commit 4511e69
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/KingSystem/System/VFR.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@ class VFR {
// TODO: requires ksys::Sound
void resetTimeMultiplier(u32 idx);

f32 getDeltaTime(u32 core) const { return *mDeltaTimes[core]; }
f32 getDeltaTime() const { return getDeltaTime(sead::CoreInfo::getCurrentCoreId()); }

f32 getDeltaFrame(u32 core) const { return *mDeltaFrames[core]; }
f32 getDeltaFrame() const { return getDeltaFrame(sead::CoreInfo::getCurrentCoreId()); }

f32 getDeltaTime(u32 core) const { return *mDeltaTimes[core]; }
f32 getDeltaTime() const { return getDeltaTime(sead::CoreInfo::getCurrentCoreId()); }

f32 getIntervalRatio(u32 core) const { return *mIntervalRatios[core]; }
f32 getIntervalRatio() const { return getIntervalRatio(sead::CoreInfo::getCurrentCoreId()); }

Expand Down

0 comments on commit 4511e69

Please sign in to comment.