Difference between revisions of "AMPXI:GetTitleInfo"

From 3dbrew
Jump to navigation Jump to search
m
 
(2 intermediate revisions by one other user not shown)
Line 9: Line 9:
 
|-
 
|-
 
| 1
 
| 1
| ? (always 0?)
+
| [[Filesystem_services#MediaType|MediaType]]
 
|-
 
|-
 
| 2
 
| 2
Line 15: Line 15:
 
|-
 
|-
 
| 3
 
| 3
| (titlecount*8)<<8 <nowiki>|</nowiki> 4
+
| (TitleCount * 8) << 8 <nowiki>|</nowiki> 6
 
|-
 
|-
 
| 4
 
| 4
| Pointer to buffer that contains title list, for which info needs to be retrieved
+
| Title IDs input pointer
 
|-
 
|-
 
| 5
 
| 5
| (titlecount*24)<<8 <nowiki>|</nowiki> 0x14
+
| (TitleCount * 24) << 8 <nowiki>|</nowiki> 0x14
 
|-
 
|-
 
| 6
 
| 6
| Pointer to buffer that will receive the title info
+
| Title Infos output pointer
 
|}
 
|}
  
Line 41: Line 41:
  
 
= Title info =
 
= Title info =
Each entry in the buffer is 24 bytes, contents are currently unknown
+
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
 +
| Version
 +
|-
 +
| 18
 +
| 2
 +
| Unknown
 +
|-
 +
| 20
 +
| 4
 +
| Title type
 +
|}

Latest revision as of 02:10, 10 January 2016

Request[edit]

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[edit]

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

Title info[edit]

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