Difference between revisions of "FS:GetMediaType"

From 3dbrew
Jump to navigation Jump to search
(GetMediaType)
 
m (Use common types.)
 
Line 22: Line 22:
 
|-
 
|-
 
| 2
 
| 2
| u8, Media Type
+
| [[Filesystem_services#MediaType|Media Type]]
 
|}
 
|}
  
 
=Description=
 
=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 [[FS:GetProgramLaunchInfo|GetProgramLaunchInfo]]. This then writes the u8 to response-word[2]. This is used with [[Anti Savegame Restore]].
 
This loads the u8 mediatype for the current application from already initialized state, this u8 was originally loaded from the same data used by [[FS:GetProgramLaunchInfo|GetProgramLaunchInfo]]. This then writes the u8 to response-word[2]. This is used with [[Anti Savegame Restore]].

Latest revision as of 22:39, 17 October 2015

Request[edit]

Index Word Description
0 Header code [0x08680000]

Response[edit]

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

Description[edit]

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.