FS:GetMediaType

From 3dbrew
Revision as of 02:52, 17 October 2015 by Steveice10 (talk | contribs) (GetMediaType)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request

Index Word Description
0 Header code [0x08680000]

Response

Index Word Description
0 Header code
1 Result code
2 u8, Media Type

Description

This loads the u8 mediatype for the current application from already initialized state, this u8 was originally loaded from the same data used by GetProgramLaunchInfo. This then writes the u8 to response-word[2]. This is used with Anti Savegame Restore.