ReC98/th01/hardware/frmdely.c

10 lines
212 B
C

extern int vsync_frame;
#define z_vsync_reset1() (vsync_frame = 0)
// #define z_vsync_reset2() (vsync_unused = 0)
void far frame_delay(unsigned int frames)
{
while(vsync_frame < frames) {}
z_vsync_reset1();
}