FS:GetSpecialContentIndex: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
Steveice10 (talk | contribs)
GetSpecialContentIndex
 
TimmSkiller (talk | contribs)
No edit summary
 
Line 33: Line 33:
| u16, Special Content Index
| u16, Special Content Index
|}
|}
=Description=
Locates the given content type in the specified title.
When the title is on a gamecart, the returned content index is an [[NCSD|NCSD Partition Index]].
When the title is on the SD Card or the NAND, the returned content index is the [[Title_metadata|TMD content index]] of the content.

Latest revision as of 19:56, 2 May 2025

Request

Index Word Description
0 Header code [0x083A0100]
1 Media Type
2-3 u64, Program ID
4 Special Content Type

Response

Index Word Description
0 Header code
1 Result code
2 u16, Special Content Index

Description

Locates the given content type in the specified title.

When the title is on a gamecart, the returned content index is an NCSD Partition Index.

When the title is on the SD Card or the NAND, the returned content index is the TMD content index of the content.