We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7467d1c commit f952bfeCopy full SHA for f952bfe
1 file changed
decompile/General/MAIN/MainFrame_08_RenderFrame.c
@@ -1847,7 +1847,16 @@ void RenderVSYNC(struct GameTracker* gGT)
1847
// render checkered flag
1848
if((gGT->renderFlags & 0x1000) != 0)
1849
{
1850
- VSync(0);
+ #ifdef USE_60FPS
1851
+ // if main menu runs at 45fps,
1852
+ // do NOT cap to 30fps
1853
+ if(gGT->levelID != MAIN_MENU_LEVEL)
1854
+ #endif
1855
+
1856
+ // Wait until "next" vsync,
1857
+ // Main Menu at 45fps will cap to 30fps
1858
+ // Levels+RaceFlag at 25fps will cap to 20fps
1859
+ VSync(0);
1860
}
1861
1862
0 commit comments