Difference between revisions of "FS:GetMediaType"

From 3dbrew
Jump to navigation Jump to search
(GetMediaType)
(No difference)

Revision as of 02:52, 17 October 2015

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.