Allow to cap FPS up to the current max refresh rates of gaming screens: 360Hz
Patch by: @OptimusShepard Reviewed by: @vladislavbelov Differential Revision: https://code.wildfiregames.com/D4366 This was SVN commit r26207.
This commit is contained in:
parent
712b7ebf9a
commit
a2ab6b9b72
@ -141,7 +141,7 @@
|
||||
"tooltip": "To save CPU workload, throttle render frequency in all menus. Set to maximum to disable throttling.",
|
||||
"config": "adaptivefps.menu",
|
||||
"min": 20,
|
||||
"max": 100
|
||||
"max": 360
|
||||
},
|
||||
{
|
||||
"type": "slider",
|
||||
@ -149,7 +149,7 @@
|
||||
"tooltip": "To save CPU workload, throttle render frequency in running games. Set to maximum to disable throttling.",
|
||||
"config": "adaptivefps.session",
|
||||
"min": 20,
|
||||
"max": 100
|
||||
"max": 360
|
||||
},
|
||||
{
|
||||
"type": "dropdownNumber",
|
||||
|
@ -281,7 +281,7 @@ inline static void LimitFPS()
|
||||
CFG_GET_VAL(g_Game && g_Game->IsGameStarted() ? "adaptivefps.session" : "adaptivefps.menu", fpsLimit);
|
||||
|
||||
// Keep in sync with options.json
|
||||
if (fpsLimit < 20.0 || fpsLimit >= 100.0)
|
||||
if (fpsLimit < 20.0 || fpsLimit >= 360.0)
|
||||
return;
|
||||
|
||||
double wait = 1000.0 / fpsLimit -
|
||||
|
Loading…
Reference in New Issue
Block a user