FRDU:GetMyProfile: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
Joel16 (talk | contribs)
mNo edit summary
TimmSkiller (talk | contribs)
No edit summary
Line 1: Line 1:
=Request=
=Request=
{| class="wikitable" border="1"
{{IPC/Request}}
|-
{{IPC/RequestHeader|0x0007|0|0}}
!  Index Word
{{IPC/RequestEnd}}
!  Description
|-
| 0
| Header code [0x00070000]
|}


=Response=
=Response=
{| class="wikitable" border="1"
{{IPC/Request}}
|-
{{#vardefine:ipc_offset|0}}
!  Index Word
{{IPC/RequestHeader|0x0007|3|0}}
!  Description
{{IPC/RequestEntry|Result code}}
|-
{{IPC/RequestEntryRange|2|[[FRDU:GetMyProfile#Profile_Structure|Profile]] structure}}
| 0
{{IPC/RequestEnd}}
| Header code
|-
| 1
| Result code
|-
| 2-3
| Profile structure
|}


Profile Structure:
=Profile Structure=
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! Type
! Type
! Name
! Name
|-
|-
| u8
| u8
| region
| Region
|-
|-
| u8
| u8
| country
| Country
|-
|-
| u8
| u8
| area
| Area
|-
|-
| u8
| u8
| language
| Language
|-
|-
| u8
| u8
| platform, always 2 (PLATFORM_CTR)
| Platform, always 2 (PLATFORM_CTR)
|-
|-
| u8[3]
| u8[3]
| padding
| padding
|}
|}

Revision as of 19:19, 12 December 2024

Request

Index Word Description
0
Header 0x00070000 Cmd 0x0007 Param 0 Xlat 0

Response

Index Word Description
0
Header 0x000700C0 Cmd 0x0007 Param 3 Xlat 0
1 Result code
2-3 Profile structure

Profile Structure

Type Name
u8 Region
u8 Country
u8 Area
u8 Language
u8 Platform, always 2 (PLATFORM_CTR)
u8[3] padding