mirror of
https://github.com/devkitPro/wut.git
synced 2026-06-13 04:10:53 -05:00
CCR: Add missing function CCRSysCaffeineGetAppLaunchParam and CCRSysCaffeineBootCheck
This commit is contained in:
parent
c3946c3ca2
commit
8165c527fd
28
include/nn/ccr/sys_caffeine.h
Normal file
28
include/nn/ccr/sys_caffeine.h
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
#pragma once
|
||||
#include <wut.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct CCRAppLaunchParam CCRAppLaunchParam;
|
||||
|
||||
struct WUT_PACKED CCRAppLaunchParam
|
||||
{
|
||||
uint64_t titleId;
|
||||
char uuid[16];
|
||||
WUT_UNKNOWN_BYTES(0xE7);
|
||||
};
|
||||
WUT_CHECK_OFFSET(CCRAppLaunchParam, 0x00, titleId);
|
||||
WUT_CHECK_OFFSET(CCRAppLaunchParam, 0x08, uuid);
|
||||
WUT_CHECK_SIZE(CCRAppLaunchParam, 0xFF);
|
||||
|
||||
void
|
||||
CCRSysCaffeineGetAppLaunchParam(CCRAppLaunchParam * data);
|
||||
|
||||
uint32_t
|
||||
CCRSysCaffeineBootCheck();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
@ -83,6 +83,7 @@
|
|||
#include <nn/acp/save.h>
|
||||
#include <nn/acp/title.h>
|
||||
#include <nn/act/client_cpp.h>
|
||||
#include <nn/ccr/sys_caffeine.h>
|
||||
#include <nn/ffl/miidata.h>
|
||||
#include <nn/pdm/pdm_c.h>
|
||||
#include <nn/pdm/pdm_cpp.h>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user