AMPXI:GetTitleInfo: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
Neimod (talk | contribs)
Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00020082] |- | 1 | Title count |- | 2 | ? (always 0?) |- | 3 | (titlecount*8)<<8..."
 
Steveice10 (talk | contribs)
mNo edit summary
 
(3 intermediate revisions by one other user not shown)
Line 6: Line 6:
|-
|-
| 0
| 0
| Header code [0x00020082]
| Header code [0x00030084]
|-
|-
| 1
| 1
| Title count
| [[Filesystem_services#MediaType|MediaType]]
|-
|-
| 2
| 2
| ? (always 0?)
| Title count
|-
|-
| 3
| 3
| (titlecount*8)<<8 <nowiki>|</nowiki> 4
| (TitleCount * 8) << 8 <nowiki>|</nowiki> 6
|-
|-
| 4
| 4
| Pointer to buffer that will receive title info
| Title IDs input pointer
|-
| 5
| (TitleCount * 24) << 8 <nowiki>|</nowiki> 0x14
|-
| 6
| Title Infos output pointer
|}
|}


Line 28: Line 34:
|-
|-
| 0
| 0
| Header code [0x00020080]
| Header code [0x00030040]
|-
|-
| 1
| 1
| Result code
| Result code
|}
= Title info =
Each entry in the buffer is 24 bytes, some contents are currently unknown.
{| class="wikitable" border="1"
|-
!  Offset
!  Size
!  Description
|-
|-
| 0
| 8
| Title id
|-
| 8
| 8
| Unknown
|-
| 16
| 2
| 2
| Number of records returned
| Version
|-
| 18
| 2
| Unknown
|-
| 20
| 4
| Title type
|}
|}
= Record data =
Each entry in the buffer is 8 bytes, and contains the title id.

Latest revision as of 03:10, 10 January 2016

Request

Index Word Description
0 Header code [0x00030084]
1 MediaType
2 Title count
3 (TitleCount * 8) << 8 | 6
4 Title IDs input pointer
5 (TitleCount * 24) << 8 | 0x14
6 Title Infos output pointer

Response

Index Word Description
0 Header code [0x00030040]
1 Result code

Title info

Each entry in the buffer is 24 bytes, some contents are currently unknown.

Offset Size Description
0 8 Title id
8 8 Unknown
16 2 Version
18 2 Unknown
20 4 Title type