BOSSU:RegisterTask

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

Request

Index Word Description
0
Header 0x000B00C2 Cmd 0x000B Param 3 Xlat 2
1 u32, Task ID size, including NULL terminator
2 bool, TaskOption configured
3 u8, Step ID
4 Descriptor for mapping a read-only buffer in the target process
5 Task ID buffer

Response

Index Word Description
0
Header 0x000B0042 Cmd 0x000B Param 1 Xlat 2
1 Result code
2 Descriptor for mapping a read-only buffer in the target process
3 Task ID buffer

Description

Registers a task for the program ID of the current session and updates the BOSS savedata immediately, using information previously configured with BOSSU:SendProperty.

The input bool is set to true in the SDK if the application provides a TaskOption, which contains some of the properties that can be configured.