mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Make interface more flexible by passing the whole instance object to the framerate source
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user