Skip to content

Commit

Permalink
nn_ccr: Add CCRSysSetInitBootFlag and CCRSysInitializeSettings
Browse files Browse the repository at this point in the history
  • Loading branch information
Maschell authored and GaryOderNichts committed May 5, 2024
1 parent 536c584 commit 72ec4f7
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions include/nn/ccr/sys.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ typedef enum CCRSysPairingState
CCR_SYS_PAIRING_TIMED_OUT = 2,
} CCRSysPairingState;

typedef enum CCRSysInitBootFlag
{
CCR_SYS_BOOT_FLAG_NONE = 0,
//! Shows "Turn on the TV and Wii U Console.." text on next DRC boot
CCR_SYS_BOOT_FLAG_FIRST_BOOT = 1,
} CCRSysInitBootFlag;

struct CCRSysUpdateState
{
uint32_t state;
Expand Down Expand Up @@ -269,6 +276,16 @@ CCRSysSetVersionCheckFlag(uint32_t flag);
int32_t
CCRSysCaffeineSetCaffeineSlot(uint32_t slot);

int32_t
CCRSysSetInitBootFlag(CCRSysInitBootFlag flag);

/**
* Resets the DRC (It'll show "Turn on the TV and Wii U console" until paired)
* @return 0 on success, -1 on error.
*/
int32_t
CCRSysInitializeSettings();

#ifdef __cplusplus
}
#endif
Expand Down

0 comments on commit 72ec4f7

Please sign in to comment.