summaryrefslogtreecommitdiff
path: root/src/port/Engine.cpp
diff options
context:
space:
mode:
authorNicholas Estelami <NEstelami@users.noreply.github.com>2025-04-05 23:53:25 -0400
committerGitHub <noreply@github.com>2025-04-06 00:53:25 -0300
commit91d847799593bc9c0e279fbf4a079ce08c8b2e11 (patch)
treef982a4db8c5a2feabb54cba95843211e6aa1a2e4 /src/port/Engine.cpp
parent1c3541183f51a0f762692e7d6da498cfe81a4f69 (diff)
Fix texture interpolation issues in aquas (#186)
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() {