BOSSU:SetStorageInfo: Difference between revisions
Jump to navigation
Jump to search
DaniElectra (talk | contribs) m DaniElectra moved page BOSS:SetStorageInfo to BOSSU:SetStorageInfo: Consistency with other pages |
DaniElectra (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
=Request= | =Request= | ||
{{IPC/Request}} | {{IPC/Request}} | ||
{{IPC/RequestHeader|0x0002|4|0}} | |||
{{IPC/ | {{IPC/RequestEntryRange|2|u64 Extdata ID}} | ||
{{IPC/RequestEntryRange|2|u64 | {{IPC/RequestEntry|u32, Storage size}} | ||
{{IPC/RequestEntry|u32 | {{IPC/RequestEntry|u8, [[Filesystem_services#MediaType|MediaType]] (only NAND or SD)}} | ||
{{IPC/RequestEntry| | |||
{{IPC/RequestEnd}} | {{IPC/RequestEnd}} | ||
Line 11: | Line 10: | ||
{{IPC/Request}} | {{IPC/Request}} | ||
{{#vardefine:ipc_offset|0}} | {{#vardefine:ipc_offset|0}} | ||
{{IPC/ | {{IPC/RequestHeader|0x0002|1|0}} | ||
{{IPC/RequestEntry|Result code}} | {{IPC/RequestEntry|Result code}} | ||
{{IPC/RequestEnd}} | {{IPC/RequestEnd}} | ||
=Description= | =Description= | ||
This sets the extdata storage info for the current | 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. |
Latest revision as of 15:07, 1 February 2025
Request
Index Word | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
0 |
| ||||||||
1-2 | u64 Extdata ID | ||||||||
3 | u32, Storage size | ||||||||
4 | u8, MediaType (only NAND or SD) |
Response
Index Word | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
0 |
| ||||||||
1 | Result code |
Description
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.