APT:PrepareToDoApplicationJump: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00310100] |- | 1 | u8 flags |- | 2-3 | u64 programID |- | 4 | u8 mediatype |} =..."
 
Steveice10 (talk | contribs)
mNo edit summary
 
Line 9: Line 9:
|-
|-
| 1
| 1
| u8 flags
| u8, [[APT:PrepareToDoApplicationJump#Flags|Flags]]
|-
|-
| 2-3
| 2-3
| u64 programID
| u64, Program ID
|-
|-
| 4
| 4
| u8 mediatype
| [[Filesystem_services#MediaType|MediaType]]
|}
|}


Line 34: Line 34:
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
u8 flags value
Value
!  Description
!  Description
|-
|-
| 0
| 0
| The input programID/mediatype is used.
| The input parameters are used.
|-
|-
| 1
| 1
| The programID/mediatype from NS state is used.
| The parameters from the NS state are used.
|-
|-
| 2
| 2
| The programID/mediatype already set for the application appID(0x300) is used.
| The parameters already set for the application [[NS_and_APT_Services#AppIDs|AppID]] (0x300) are used.
|}
|}


=Description=
=Description=
After initializing programID/mediatype fields/etc, this then uses [[PTMSYSM:NotifyPlayEvent]] and [[PMApp:LaunchTitle]](in some cases these two commands aren't used however).
After initializing Program ID/[[Filesystem_services#MediaType|MediaType]] fields/etc, this then uses [[PTMSYSM:NotifyPlayEvent]] and [[PMApp:LaunchTitle]] (in some cases these two commands aren't used however).

Latest revision as of 05:12, 22 November 2015

Request

Index Word Description
0 Header code [0x00310100]
1 u8, Flags
2-3 u64, Program ID
4 MediaType

Response

Index Word Description
0 Header code
1 Result code

Flags

Value Description
0 The input parameters are used.
1 The parameters from the NS state are used.
2 The parameters already set for the application AppID (0x300) are used.

Description

After initializing Program ID/MediaType fields/etc, this then uses PTMSYSM:NotifyPlayEvent and PMApp:LaunchTitle (in some cases these two commands aren't used however).