XeFG now obeys interpolation count setting when initing

This commit is contained in:
cdozdil
2026-04-30 00:28:10 +03:00
parent d81c7a8961
commit a365ce844a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -318,4 +318,4 @@ void IFGFeature::SetResourceReady(FG_ResourceType type, int index)
_resourceFrame[type] = _frameCount;
}
UINT IFGFeature::GetInterpolatedFrameCount() { return _framesToInterpolate; }
UINT IFGFeature::GetInterpolatedFrameCount() { return _framesToInterpolate < 0 ? 1 : _framesToInterpolate; }
+1 -1
View File
@@ -73,7 +73,7 @@ class IFGFeature
UINT64 _lastDispatchedFrame = 0;
UINT64 _lastFGFrame = 0;
bool _waitingNewFrameData = false;
int _framesToInterpolate = 1;
int _framesToInterpolate = -1;
bool _isActive = false;
UINT64 _targetFrame = 0;