APT:PrepareToDoApplicationJump

From 3dbrew
Revision as of 00:14, 12 April 2014 by Yellows8 (talk | contribs) (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 |} =...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request

Index Word Description
0 Header code [0x00310100]
1 u8 flags
2-3 u64 programID
4 u8 mediatype

Response

Index Word Description
0 Header code
1 Result code

Flags

u8 flags value Description
0 The input programID/mediatype is used.
1 The programID/mediatype from NS state is used.
2 The programID/mediatype already set for the application appID(0x300) is used.

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).