#include <Ninja.h> void njWaitVSync()
void main(void) { njUserInit(); while (1) { if (njUserMain() < 0) break; njWaitVSync(); } njUserExit(); }