Closed Raiondesu closed 1 year ago
The times have come for high-refresh-rate monitors! 🖥\ This PR adds a new setting to the config: target_fps. It allows to indirectly set the SDL_Delay argument, by replacing the currently-hardcoded 1000 / 60 with 1000 / cfg.targetFPS.
target_fps
SDL_Delay
1000 / 60
1000 / cfg.targetFPS
The setting is added to:
Config
main.c
60
The times have come for high-refresh-rate monitors! 🖥\ This PR adds a new setting to the config:
target_fps
. It allows to indirectly set theSDL_Delay
argument, by replacing the currently-hardcoded1000 / 60
with1000 / cfg.targetFPS
.The setting is added to:
Config
structmain.c
SDL_Delay
60