AM:GetProgramInfosIgnorePlatform: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
Steveice10 (talk | contribs)
Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x002C0084] |- | 1 | Media Type |- | 2 | Titl..."
 
TimmSkiller (talk | contribs)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 24: Line 24:
|-
|-
| 6
| 6
| Title Info Output Pointer
| [[Application_Manager_Services#TitleInfo|Title Infos]] Output Pointer
|}
|}


Line 39: Line 39:
| Result code
| Result code
|}
|}
=Description=
A wrapper for [[AM:GetProgramInfos]], with special handling for New3DS title IDs:
If the given title ID is a CTR title ID, this first sets the New3DS bit (e.g. 0004013800000002 -> 0004013820000002). If the New3DS version was not found, it falls back to the given title ID.
For TWL title IDs however there is no special handling and the command acts exactly like [[AM:GetProgramInfos]].

Latest revision as of 13:22, 8 June 2025

Request

Index Word Description
0 Header code [0x002C0084]
1 Media Type
2 Title Count
3 ((Title Count * 8) << 4) | 0xA
4 Title IDs Input Pointer
5 ((Title Count * 0x18) << 4) | 0xC
6 Title Infos Output Pointer

Response

Index Word Description
0 Header code
1 Result code

Description

A wrapper for AM:GetProgramInfos, with special handling for New3DS title IDs:

If the given title ID is a CTR title ID, this first sets the New3DS bit (e.g. 0004013800000002 -> 0004013820000002). If the New3DS version was not found, it falls back to the given title ID.

For TWL title IDs however there is no special handling and the command acts exactly like AM:GetProgramInfos.