Controlling speed (and smoothness) across a million PC's, for various games is the bane of the PC programmer.
Save yourself the effort by either searching for the Retro64 method. Or buy Grey's BlitzMax Framework, which has a built-in and improved version amongst other features.
Save yourself the effort by either searching for the Retro64 method. Or buy Grey's BlitzMax Framework, which has a built-in and improved version amongst other features.