ReC98/th04/frmdely2.c

13 lines
308 B
C

// Temporary workaround copy of TH02's version, until we can put it into the
// regular SHARED segment for TH04's OP.EXE as well.
#pragma option -zCSHARED_
#include "master.hpp"
#include "th02/hardware/frmdelay.h"
void pascal frame_delay_2(int frames)
{
vsync_reset1();
while(vsync_Count1 < frames) {}
}