mirror of https://github.com/diegocr/libnix.git
18 lines
294 B
C
18 lines
294 B
C
#if 0
|
|
#include <devices/timer.h>
|
|
|
|
extern void dotimer(ULONG,ULONG,struct timeval *);
|
|
|
|
void timer(long clock[2])
|
|
{
|
|
dotimer(UNIT_VBLANK,TR_GETSYSTIME,(struct timeval *)&clock[0]);
|
|
}
|
|
#else
|
|
#include <proto/timer.h>
|
|
|
|
void timer(long clock[2])
|
|
{
|
|
GetSysTime((struct timeval *)&clock[0]);
|
|
}
|
|
#endif
|