summaryrefslogtreecommitdiff
path: root/libs/dolphin/src/os/time.dolphin.c
blob: 0bbe26b9db552164a6559409e9c41133df8e11eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <dolphin/dolphin.h>
#include <dolphin/os.h>

#include "__os.h"

OSTime __get_clock(void) {
    return __OSGetSystemTime();
}

u32 __get_time(void) {
    return OSTicksToSeconds(OSGetTime()) - 0x43E83E00;
}

int __to_gm_time(void) {
    return 0;
}