Skip to content

Commit

Permalink
nn_ccr: Add CCRSysCaffeineBootCheckAbort; nsysccr: fix quick start me…
Browse files Browse the repository at this point in the history
…nu value in CCRCDCDrcStateEnum (devkitPro#372)

* nn_ccr: Add CCRSysCaffeineBootCheckAbort

* nsysccr: Fix quick start menu field in CCRCDCDrcStateEnum

* Update include/nsysccr/cdc.h
  • Loading branch information
Maschell committed Jun 10, 2024
1 parent db74507 commit 20b1118
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
3 changes: 3 additions & 0 deletions include/nn/ccr/sys_caffeine.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ CCRSysCaffeineGetAppLaunchParam(CCRAppLaunchParam * data);
uint32_t
CCRSysCaffeineBootCheck();

void
CCRSysCaffeineBootCheckAbort();

/**
* @return 0 on success, -1 on error
*/
Expand Down
16 changes: 8 additions & 8 deletions include/nsysccr/cdc.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ typedef enum CCRCDCWpsStatusEnum

typedef enum CCRCDCDrcStateEnum
{
CCR_CDC_DRC_STATE_ACTIVE = 0,
CCR_CDC_DRC_STATE_UNK1 = 1,
CCR_CDC_DRC_STATE_UPDATE = 2,
CCR_CDC_DRC_STATE_UNK3 = 3,
CCR_CDC_DRC_STATE_BACKGROUND = 4,
CCR_CDC_DRC_STATE_DISCONNECT = 5,
CCR_CDC_DRC_STATE_UNK12 = 12,
CCR_CDC_DRC_STATE_QUICK_START_MENU = 15,
CCR_CDC_DRC_STATE_ACTIVE = 0,
CCR_CDC_DRC_STATE_UNK1 = 1,
CCR_CDC_DRC_STATE_UPDATE = 2,
CCR_CDC_DRC_STATE_UNK3 = 3,
CCR_CDC_DRC_STATE_BACKGROUND = 4,
CCR_CDC_DRC_STATE_DISCONNECT = 5,
CCR_CDC_DRC_STATE_IN_QUICK_START_MENU = 12,
CCR_CDC_DRC_STATE_UNK15 = 15,
} CCRCDCDrcStateEnum;

typedef enum CCRCDCWakeStateEnum
Expand Down

0 comments on commit 20b1118

Please sign in to comment.