BOSSU:SetStorageInfo

From 3dbrew
Revision as of 15:07, 1 February 2025 by DaniElectra (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request[edit]

Index Word Description
0
Header 0x00020100 Cmd 0x0002 Param 4 Xlat 0
1-2 u64 Extdata ID
3 u32, Storage size
4 u8, MediaType (only NAND or SD)

Response[edit]

Index Word Description
0
Header 0x00020040 Cmd 0x0002 Param 1 Xlat 0
1 Result code

Description[edit]

This sets the extdata storage info 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.