summaryrefslogtreecommitdiff
path: root/src/port/Engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/port/Engine.cpp')
-rw-r--r--src/port/Engine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/port/Engine.cpp b/src/port/Engine.cpp
index c65ff500..f8ccfd63 100644
--- a/src/port/Engine.cpp
+++ b/src/port/Engine.cpp
@@ -541,7 +541,7 @@ uint32_t GameEngine::GetInterpolationFPS() {
uint32_t GameEngine::GetInterpolationFrameCount()
{
- return ceil((float)GetInterpolationFPS() / 30.0f);
+ return ceil((float)GetInterpolationFPS() / (60.0f / gVIsPerFrame));
}
extern "C" uint32_t GameEngine_GetInterpolationFrameCount() {