mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-13 17:41:49 +01:00
15 lines
298 B
C
15 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;
|
|
}
|