Filled in missing NacpStruct fields (#322)

* Filled in missing NacpStruct fields
This commit is contained in:
WerWolv 2019-08-19 01:23:41 +02:00 committed by yellows8
parent f1dfb2c23b
commit ac75527491

View File

@ -15,36 +15,54 @@ typedef struct {
/// ns ApplicationControlProperty /// ns ApplicationControlProperty
typedef struct { typedef struct {
NacpLanguageEntry lang[16]; NacpLanguageEntry lang[16];
u8 isbn[0x25];
u8 x3000_unk[0x24];////Normally all-zero? u8 startupUserAccount;
u32 x3024_unk; u8 userAccountSwitchLock;
u32 x3028_unk; u8 addOnContentRegistrationType;
u32 x302C_unk; u32 applicationAttribute;
u32 x3030_unk; u32 supportedLanguages;
u32 x3034_unk; u32 parentalControl;
u64 titleID0; u8 screenshot;
u8 videoCaptureMode;
u8 x3040_unk[0x20]; u8 dataLossConfirmation;
u8 playLogPolicy;
u64 presenceGroupId;
char ratingAge[0x20];
char version[0x10]; char version[0x10];
u64 addOnContentBaseId;
u64 titleID_DlcBase; u64 saveDataOwnerId;
u64 titleID1; u64 userAccountSaveDataSize;
u64 userAccountSaveDataJournalSize;
u32 x3080_unk; u64 deviceSaveDataSize;
u32 x3084_unk; u64 deviceSaveDataJournalSize;
u32 x3088_unk; u64 bcatDeliveryCacheStorageSize;
u8 x308C_unk[0x24];//zeros? u64 applicationErrorCodeCategory;
u64 localCommunicationIds[0x08];
u64 titleID2; u8 logoType;
u64 titleIDs[7];//"Array of application titleIDs, normally the same as the above app-titleIDs. Only set for game-updates?" u8 logoHandling;
u8 runtimeAddOnContentInstall;
u32 x30F0_unk; u8 reserved_x30F3[0x03];
u32 x30F4_unk; u8 crashReport;
u8 hdcp;
u64 titleID3;//"Application titleID. Only set for game-updates?" u64 pseudoDeviceIdSeed;
char bcatPassphrase[0x41];
char bcatPassphrase[0x40]; u8 reserved_x3141;
u8 x3140_unk[0xEC0];//Normally all-zero? u8 reserved_x3142[0x06];
u64 userAccountSaveDataMaxSize;
u64 userAccountSaveDataMaxJournalSize;
u64 deviceSaveDataMaxSize;
u64 deviceSaveDataMaxJournalSize;
u64 temporaryStorageSize;
u64 cacheStorageSize;
u64 cacheStorageJournalSize;
u64 cacheStorageAndJournalMaxSize;
u64 cacheStorageMaxIndex;
u64 playLogQueryableApplicationId[0x10];
u8 playLogQueryCapability;
u8 repairFlag;
u8 programIndex;
u8 requiredNetworkServiceLicenseOnLaunch;
u8 reserved_x3214[0xDEC];
} NacpStruct; } NacpStruct;
/// Get the NacpLanguageEntry from the input nacp corresponding to the current system language (this may fallback to other languages when needed). Output langentry is NULL if none found / content of entry is empty. /// Get the NacpLanguageEntry from the input nacp corresponding to the current system language (this may fallback to other languages when needed). Output langentry is NULL if none found / content of entry is empty.