Delay_usec() for BeOS too

This commit is contained in:
gbeauche 2004-05-15 16:21:37 +00:00
parent 65e1edb5b2
commit 237ab8ffc6
2 changed files with 13 additions and 0 deletions

View File

@ -80,6 +80,9 @@ typedef uae_u32 uaecptr;
typedef uint32 uintptr;
typedef int32 intptr;
/* Timing functions */
extern void Delay_usec(uint32 usec);
// UAE CPU defines
#ifdef __i386__

View File

@ -120,3 +120,13 @@ int32 timer_host2mac_time(tm_time_t hosttime)
else
return -hosttime; // Time in negative microseconds
}
/*
* Delay by specified number of microseconds (<1 second)
*/
void Delay_usec(uint32 usec)
{
snooze(usec);
}