diff --git a/app/AutoTDP/AutoTDPService.cs b/app/AutoTDP/AutoTDPService.cs index 23bd8665..3b686522 100644 --- a/app/AutoTDP/AutoTDPService.cs +++ b/app/AutoTDP/AutoTDPService.cs @@ -240,6 +240,11 @@ namespace GHelper.AutoTDP currentGame = null; GameFPSPrevious = double.NaN; GameFPS = 0; + LastAdjustmentsWithoutImprovement = 0; + LastAdjustment = 0.0; + FramerateLog = new List(); + FramerateTargetReachedCounter = 0; + FramerateDipCounter = 0; if (powerLimiter is not null) { @@ -444,6 +449,9 @@ namespace GHelper.AutoTDP framerateSouce = null; } + currentGame = null; + Reset(); + //Kill RTSS instance if we started one RTSSFramerateSource.Stop();