summaryrefslogtreecommitdiff
path: root/src/libultra/os/settime.c
blob: 29aac718fc02e14735d2c3a84b919b50d3cbc6af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "PR/os_internal.h"
#include "PR/ultraerror.h"
#include "osint.h"
#include "PR/viint.h"

void osSetTime(OSTime time) {

#ifdef _DEBUG
    if (!__osViDevMgr.active) {
        __osError(ERR_OSSETTIME, 0);
        return;
    }
#endif

    __osCurrentTime = time;
}