xenia icon indicating copy to clipboard operation
xenia copied to clipboard

Add vsync_interval option

Open Margen67 opened this issue 2 years ago • 1 comments

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.

Margen67 avatar Dec 17 '21 04:12 Margen67

Shouldn't uint64 be double instead? 1000/16 = 62.5 FPS. 60.0FPS is 16.66666666666667.

illusion0001 avatar Dec 17 '21 04:12 illusion0001