APT:GetApplicationRunningMode: Difference between revisions

Steveice10 (talk | contribs)
mNo edit summary
Steveice10 (talk | contribs)
No edit summary
 
Line 22: Line 22:
|-
|-
| 2
| 2
| u8, Application Running Mode (?)
| u8, Application Running Mode
|}
|}


=Description=
=Description=
This writes an output u8 to cmdreply[2], the value is determined by checking various NS internal state + whether this is a New3DS.
This outputs a value based on whether the system is running using New 3DS CPU speed and whether the application is registered with APT (see [[APT:Enable]]).


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.  
Using New 3DS CPU speed (i.e. modes 2 and 4) seems to be known as running as an "ext application" (probably for "extended application").


Values 0x2 or 0x4 seem to indicate that it's running as an "ext application"(?)
==Application Running Mode==
{| class="wikitable" border="1"
|-
!  Value
!  Description
|-
| 0
| No application is running
|-
| 1
| Old 3DS CPU speed, registered with APT
|-
| 2
| New 3DS CPU speed, registered with APT
|-
| 3
| Old 3DS CPU speed, not registered with APT
|-
| 4
| New 3DS CPU speed, not registered with APT
|}