mirror of
https://github.com/sm64pc/sm64pc.git
synced 2025-04-12 00:05:59 +02:00
fix 60fps patch (thanks SpacingBat3)
This commit is contained in:
parent
fb22013eab
commit
dcc16eaed7
@ -1906,7 +1906,7 @@ index 25c9f06..a6461ae 100644
|
||||
if (enabled) {
|
||||
// try to detect refresh rate
|
||||
SDL_GL_SetSwapInterval(1);
|
||||
- const int vblanks = test_vsync();
|
||||
- const int vblanks = gCLIOpts.SyncFrames ? (int)gCLIOpts.SyncFrames : test_vsync();
|
||||
+ int vblanks = test_vsync();
|
||||
+ if (vblanks & 1)
|
||||
+ vblanks = 0; // not divisible by 60, fuck that
|
||||
|
Loading…
x
Reference in New Issue
Block a user