mirror of https://github.com/sm64pc/sm64pc.git
add a catch for 240hz refresh rates
hopefully 150, 180 and 210hz monitors don't exist
This commit is contained in:
parent
572a4b698b
commit
4b15a8f7b6
|
@ -133,6 +133,7 @@ int test_vsync(void) {
|
||||||
if (average > 57.0f && average < 63.0f) return 2;
|
if (average > 57.0f && average < 63.0f) return 2;
|
||||||
if (average > 86.0f && average < 94.0f) return 3;
|
if (average > 86.0f && average < 94.0f) return 3;
|
||||||
if (average > 115.0f && average < 125.0f) return 4;
|
if (average > 115.0f && average < 125.0f) return 4;
|
||||||
|
if (average > 234.0f && average < 246.0f) return 8;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue