APT:GetApplicationRunningMode
Revision as of 08:24, 23 July 2023 by Steveice10 (talk | contribs)
Request
Index Word | Description |
---|---|
0 | Header code [0x01030000] |
Response
Index Word | Description |
---|---|
0 | Header code |
1 | Result code |
2 | u8, Application Running Mode (?) |
Description
This writes an output u8 to cmdreply[2], the value is determined by checking various NS internal state + whether this is a New3DS.
The normal output seems to be value 0x2. Forcing this value to 0x1 causes New3DS HID usage(via ir:USER) in Smash Bros to be disabled.
Values 0x2 or 0x4 seem to indicate that it's running as an "ext application"(?)