mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-13 17:21:52 +01:00
ac8a42fa7c
Assuming that --enable-threads=dkp gets merged into devkitPPC r31... :)
17 lines
298 B
C
17 lines
298 B
C
#include <coreinit/thread.h>
|
|
#include <coreinit/systeminfo.h>
|
|
#include <coreinit/time.h>
|
|
#include <unistd.h>
|
|
|
|
unsigned sleep(unsigned seconds)
|
|
{
|
|
OSSleepTicks(OSSeconds(seconds));
|
|
return 0;
|
|
}
|
|
|
|
int usleep(useconds_t microseconds)
|
|
{
|
|
OSSleepTicks(OSMicroseconds(microseconds));
|
|
return 0;
|
|
}
|