Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions include/coreinit/time.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ void
OSTicksToCalendarTime(OSTime time,
OSCalendarTime *calendarTime);

BOOL
__OSSetAbsoluteSystemTime(OSTime time);

#ifdef __cplusplus
}
#endif
Expand Down
13 changes: 13 additions & 0 deletions include/nn/ccr/sys.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#pragma once
#include <wut.h>
#include <coreinit/time.h>

/**
* \defgroup nn_ccr_sys
Expand Down Expand Up @@ -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
Expand Down