add a catch for 240hz refresh rates

hopefully 150, 180 and 210hz monitors don't exist
This commit is contained in:
fgsfds 2020-07-09 17:24:15 +03:00
parent a4b4d6d5e5
commit 74fb549516
1 changed files with 1 additions and 0 deletions

View File

@ -133,6 +133,7 @@ int test_vsync(void) {
if (average > 57.0f && average < 63.0f) return 2;
if (average > 86.0f && average < 94.0f) return 3;
if (average > 115.0f && average < 125.0f) return 4;
if (average > 234.0f && average < 246.0f) return 8;
return 0;
}