DQBsetFrameRate
SUB

Prototype

DECLARE SUB DQBsetFrameRate (BYVAL FPS)

Parameters

FPS - new frames per second selection

Returns

none

Description

Sets a new framerate. Together with the DQBframeReady function, this one can be used to syncronize the graphics speed to a specified framerate, in an independent way from the program complexity.

Notes:

DQBsetFrameRate alters the PC timer speed, so use caution when calling this function; it may not be compatible with some TSR, like SBMIDI, so be warned. See also DQBframeReady