2020-03-11 20:19:01 +00:00
|
|
|
#include "th01/hardware/vsync.h"
|
|
|
|
|
2019-11-18 07:28:39 +00:00
|
|
|
#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();
|
|
|
|
}
|