Difference between revisions of "APT:GetApplicationRunningMode"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x01030000] |} =Response= {| class="wikitable" border="1" |- ! Index Word !...")
(No difference)

Revision as of 09:23, 23 July 2023

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"(?)