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 "PRinternal/osint.h" #include "PRinternal/viint.h" void osSetTime(OSTime time) { #ifdef _DEBUG if (!__osViDevMgr.active) { __osError(ERR_OSSETTIME, 0); return; } #endif __osCurrentTime = time; }