BOSSU:RegisterStorageEntry

From 3dbrew
Revision as of 01:45, 8 February 2025 by DaniElectra (talk | contribs) (Created page with "=Request= {{IPC/Request}} {{IPC/RequestHeader|0x002F|5|0}} {{IPC/RequestEntryRange|2|u64 Extdata ID}} {{IPC/RequestEntry|u32, Storage size}} {{IPC/RequestEntry|u16, Entry ID?}...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request

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

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

Description

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.