mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-26 10:49:21 +00:00
Delay_usec() for BeOS too
This commit is contained in:
parent
65e1edb5b2
commit
237ab8ffc6
@ -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__
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user