mirror of
https://github.com/HarbourMasters/Starship
synced 2026-08-09 03:06:23 -04:00
902dc0b829
* Matched perspective, contquery, contreaddata, recvmesg and sendmesg * Fixed libultra compilation flags * Matched viblack * Matched virepeatline, visetmode, visetspecial and viswapbuf * Matched cartrominit, dpsetstat, sptask, sptaskyield, visetevent, createthread, gettime, setthreadpri, settime, settimer and starthread * Fixed bss bs * Matched even more libultra stuff * Matched even more * __osRdbSend * Decompiled most of the functions of libultra <3 * Matched last functions * Added a separation to libultra macros * Removed ARRLEN from controller.h * Fix libultra warnings --------- Co-authored-by: Alejandro Javier Asenjo Nitti <alejandro.asenjo88@gmail.com>
17 lines
271 B
C
17 lines
271 B
C
#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;
|
|
}
|