Filesystem services: Difference between revisions

No edit summary
No edit summary
Line 1,119: Line 1,119:
| 220 || [9.0.0+] [[#GetGameCardCompatibilityType]]
| 220 || [9.0.0+] [[#GetGameCardCompatibilityType]]
|-
|-
| 221 || [17.0.0+] GetGameCardAsicCertificate
| 221 || [17.0.0+] [[#GetGameCardAsicCertificate]]
|-
|-
| 222 || [18.0.0+] GetGameCardCardHeader
| 222 || [18.0.0+] [[#GetGameCardCardHeader]]
|-
|-
| 300 || [[#SetSpeedEmulationMode]]
| 300 || [[#SetSpeedEmulationMode]]
Line 1,249: Line 1,249:
== GetGameCardCompatibilityType ==
== GetGameCardCompatibilityType ==
Takes an input [[#GameCardHandle]]. Returns an output [[#GameCardCompatibilityType]].
Takes an input [[#GameCardHandle]]. Returns an output [[#GameCardCompatibilityType]].
== GetGameCardAsicCertificate ==
Takes a type-0x6 output buffer and an input s64 '''BufferSize'''. No output.
== GetGameCardCardHeader ==
Takes a type-0x6 output buffer, an input s64 '''BufferSize''' and an input [[#GameCardHandle]]. No output.


== SetSpeedEmulationMode ==
== SetSpeedEmulationMode ==
Line 2,492: Line 2,498:
| 16 || [9.0.0+] DifferentRegionCupToGlobalDeviceFlag
| 16 || [9.0.0+] DifferentRegionCupToGlobalDeviceFlag
|}
|}
= GameCardAttribute2 =
This is "nn::fs::GameCardAttribute2".


= GameCardSize =
= GameCardSize =
Line 2,679: Line 2,688:
= RmaInformation =
= RmaInformation =
This is "nn::gc::RmaInformation". This is a 0x200-byte struct.
This is "nn::gc::RmaInformation". This is a 0x200-byte struct.
= GameCardCardHeader =
This is a 0x600-byte struct.
{| class="wikitable" border="1"
|-
! Offset
! Size
! Description
|-
| 0x0
| 0x100
| [[XCI#CardHeader|Signature]]
|-
| 0x100
| 0x100
| [[Lotus3#GetCardHeader|Header]]
|-
| 0x200
| 0x400
| [[XCI#NewCardHeaderCertArea|NewCardHeaderCertArea]]
|}


= SimulatingDeviceType =
= SimulatingDeviceType =