mirror of
https://github.com/devkitPro/wut.git
synced 2026-09-30 13:58:04 -05:00
Add system time update functions
This commit is contained in:
@@ -84,6 +84,9 @@ void
|
||||
OSTicksToCalendarTime(OSTime time,
|
||||
OSCalendarTime *calendarTime);
|
||||
|
||||
BOOL
|
||||
__OSSetAbsoluteSystemTime(OSTime time);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#pragma once
|
||||
#include <wut.h>
|
||||
#include <coreinit/time.h>
|
||||
|
||||
/**
|
||||
* \defgroup nn_ccr_sys
|
||||
@@ -105,6 +106,18 @@ CCRSysGetPairingState(void);
|
||||
int32_t
|
||||
CCRSysGetPincode(uint32_t *pin);
|
||||
|
||||
/**
|
||||
* Sets the DRH system time.
|
||||
*
|
||||
* \param time
|
||||
* The system time in ticks.
|
||||
*
|
||||
* \return
|
||||
* 0 on success.
|
||||
*/
|
||||
int32_t
|
||||
CCRSysSetSystemTime(OSTime time);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user