BOSSU:RegisterStorageEntry

From 3dbrew
Jump to navigation Jump to search

Request[edit]

Index Word Description
0
Header 0x002F0140 Cmd 0x002F Param 5 Xlat 0
1-2 u64 Extdata ID
3 u32, Storage size
4 u16, Entry ID?
5 u8, MediaType (only NAND or SD)

Response[edit]

Index Word Description
0
Header 0x002F0040 Cmd 0x002F Param 1 Xlat 0
1 Result code

Description[edit]

Registers a storage entry for the program ID of the current session, reserving storage for up to the given size. This is immediately written into the BOSS NAND savedata.