Difference between revisions of "Profile Selector"

From Nintendo Switch Brew
Jump to navigation Jump to search
(Describes the library applet interaction for the ProfileSelect applet)
 
m (add to Library Applets category)
Line 27: Line 27:
 
Homebrew should push a common arguments struct and the typical UserSelectionConfig struct as well.
 
Homebrew should push a common arguments struct and the typical UserSelectionConfig struct as well.
 
After pushing in the data and calling start, homebrew should wait upon the PopOutDataEvent and then pop a single IStorage to obtain the result structure described above.
 
After pushing in the data and calling start, homebrew should wait upon the PopOutDataEvent and then pop a single IStorage to obtain the result structure described above.
 +
 +
[[Category:Library Applets]]

Revision as of 06:03, 23 November 2018

This is the UX presented when launching a game that allows the user to select a user.

The profile selector expects a two IStorage inputs and a single IStorage output.

The first IStorage is identical to Common Arguments from swkbd.

UserSelectionConfig

This has size 0xA0 and seems to only affect the UI display. Typical value is all zero with byte 0x96 equal to 0x01

Result

Offset Size Notes
0x0 0x8 Result (0 = Success, 2 = Failure)
0x8 0x10 UUID of selected user
0x18 End of Struct

Usage

Homebrew should push a common arguments struct and the typical UserSelectionConfig struct as well. After pushing in the data and calling start, homebrew should wait upon the PopOutDataEvent and then pop a single IStorage to obtain the result structure described above.