Filesystem services: Difference between revisions

Line 972: Line 972:
| 116 || [4.0.0+] ResumeMmcPatrol
| 116 || [4.0.0+] ResumeMmcPatrol
|-
|-
| 200 || IsGameCardInserted
| 200 || [[#IsGameCardInserted]]
|-
|-
| 201 || EraseGameCard
| 201 || EraseGameCard
|-
|-
| 202 || GetGameCardHandle
| 202 || [[#GetGameCardHandle]]
|-
|-
| 203 || [[#GetGameCardUpdatePartitionInfo]]
| 203 || [[#GetGameCardUpdatePartitionInfo]]
Line 984: Line 984:
| 205 || GetGameCardAttribute
| 205 || GetGameCardAttribute
|-
|-
| 206 || GetGameCardDeviceCertificate
| 206 || [[#GetGameCardDeviceCertificate]]
|-
|-
| 207 || GetGameCardAsicInfo
| 207 || GetGameCardAsicInfo
Line 1,010: Line 1,010:
| 218 || [3.0.0+] GetGameCardDeviceId
| 218 || [3.0.0+] GetGameCardDeviceId
|-
|-
| 219 || [8.0.0+] ChallengeCardExistence
| 219 || [8.0.0+] [[#ChallengeCardExistence]]
|-
|-
| 220 || [9.0.0+] GetGameCardCompatibilityType
| 220 || [9.0.0+] [[#GetGameCardCompatibilityType]]
|-
|-
| 300 || SetSpeedEmulationMode
| 300 || SetSpeedEmulationMode
Line 1,028: Line 1,028:
| 501 || [6.0.0+] [[#ClearDeviceSimulationEvent]]
| 501 || [6.0.0+] [[#ClearDeviceSimulationEvent]]
|}
|}
== IsGameCardInserted ==
No input, returns a bool.
== GetGameCardHandle ==
No input, returns an u32 '''GameCardHandle'''.


== GetGameCardUpdatePartitionInfo ==
== GetGameCardUpdatePartitionInfo ==
Line 1,036: Line 1,042:


[[NS_Services|NS]] appears to only use this with [[Content_Manager_services#GetTitleIdInfo]] and [[Content_Manager_services#GetUpdateTitleList]] with storageid=nandsys, for checking whether a sysupdate is required.
[[NS_Services|NS]] appears to only use this with [[Content_Manager_services#GetTitleIdInfo]] and [[Content_Manager_services#GetUpdateTitleList]] with storageid=nandsys, for checking whether a sysupdate is required.
== GetGameCardDeviceCertificate ==
Takes a type-0x6 output buffer, an u32 '''GameCardHandle''' and an u64 '''DeviceCertificateBufferSize'''. No output.
== ChallengeCardExistence ==
Takes a type-0x6 output buffer, two type-0x5 input buffers and an u32 '''GameCardHandle'''. No output.
[9.0.0+] The [[Account_services|account]] system module uses this as part of a new challenge-response mechanism for [[Network#aauth|application authentication]].
== GetGameCardCompatibilityType ==
Takes an u32 '''GameCardHandle''', returns an u8 '''CompatibilityType''' (0x00 = Global, 0x01 = China) from [[Gamecard_Format#Gamecard_Info|Gamecard Info]].


== GetSdmmcConnectionStatus ==
== GetSdmmcConnectionStatus ==