Make interface more flexible by passing the whole instance object to the framerate source

This commit is contained in:
IceStormNG
2024-03-01 07:52:27 +01:00
parent 82f90fcab3
commit 06205a1ad3
3 changed files with 4 additions and 4 deletions

View File

@@ -258,7 +258,7 @@ namespace GHelper.AutoTDP
CurrentTDP = powerLimiter.GetCPUPowerLimit();
while (currentGame is not null && Running)
{
GameFPS = framerateSouce.GetFramerate(profile.ProcessName);
GameFPS = framerateSouce.GetFramerate(instance);
Logger.WriteLine("[AutoTDPService] (" + instance.ProcessName + ") Framerate " + GameFPS);