@ -900,7 +900,7 @@ namespace SohImGui {
{
const char * cvar = " gExtraLatencyThreshold " ;
int val = CVar_GetS32 ( cvar , 80 ) ;
val = MAX ( MIN ( val , 25 0) , 0 ) ;
val = MAX ( MIN ( val , 36 0) , 0 ) ;
int fps = val ;
if ( fps = = 0 )
@ -922,7 +922,7 @@ namespace SohImGui {
ImGui : : SameLine ( ) ;
ImGui : : SetCursorPosX ( ImGui : : GetCursorPosX ( ) - 7.0f ) ;
if ( ImGui : : SliderInt ( " ##ExtraLatencyThreshold " , & val , 0 , 25 0, " " , ImGuiSliderFlags_AlwaysClamp ) )
if ( ImGui : : SliderInt ( " ##ExtraLatencyThreshold " , & val , 0 , 36 0, " " , ImGuiSliderFlags_AlwaysClamp ) )
{
CVar_SetS32 ( cvar , val ) ;
needs_save = true ;
@ -1268,7 +1268,7 @@ namespace SohImGui {
int maxFps = 60 ;
# else
int minFps = 20 ;
int maxFps = 25 0;
int maxFps = 36 0;
# endif
int val = CVar_GetS32 ( fps_cvar , minFps ) ;
@ -1296,9 +1296,9 @@ namespace SohImGui {
if ( ImGui : : SliderInt ( " ##FPSInterpolation " , & val , minFps , maxFps , " " , ImGuiSliderFlags_AlwaysClamp ) )
{
if ( val > 25 0)
if ( val > 36 0)
{
val = 25 0;
val = 36 0;
}
else if ( val < 20 )
{
@ -1329,7 +1329,7 @@ namespace SohImGui {
if ( ImGui : : Button ( " Match Refresh Rate " ) )
{
int hz = roundf ( gfx_get_detected_hz ( ) ) ;
if ( hz > = 20 & & hz < = 25 0)
if ( hz > = 20 & & hz < = 36 0)
{
CVar_SetS32 ( fps_cvar , hz ) ;
needs_save = true ;