xenia
xenia copied to clipboard
Add vsync_interval option
vsync_duration is no longer tied to vsync; Old behavior was to set it to 16 if vsync is enabled, and 1 if disabled. Default value is 16. (60 frames per second) The value represents frametime in milliseconds. For example, for 120FPS, 8 would be specified because 1000/120 = ~8.
Thanks to JoelLinn for the help.
Shouldn't uint64 be double instead? 1000/16 = 62.5 FPS. 60.0FPS is 16.66666666666667.