NS services: Difference between revisions

Line 1,261: Line 1,261:
| 10 || [[#GetDownloadedEulaData]]
| 10 || [[#GetDownloadedEulaData]]
|-
|-
| 11 || SetupCardUpdate
| 11 || [[#SetupCardUpdate]]
|-
|-
| 12 || GetPreparedCardUpdateEulaDataSize
| 12 || GetPreparedCardUpdateEulaDataSize
Line 1,344: Line 1,344:


Similar to [[#GetDownloadedEulaDataSize]] except this reads the file instead, using the specified output buffer with size=filesize. This will throw an error if the filesize is larger than the buffer size.
Similar to [[#GetDownloadedEulaDataSize]] except this reads the file instead, using the specified output buffer with size=filesize. This will throw an error if the filesize is larger than the buffer size.
=== SetupCardUpdate ===
Takes an input u64 size and a TransferMemory handle, no output.
The permissions for the TransferMemory is None.


=== SetupCardUpdateViaSystemUpdater ===
=== SetupCardUpdateViaSystemUpdater ===
Takes an input u64 size and a TransferMemory handle, no output.
The permissions for the TransferMemory is None.
Same as SetupCardUpdate, except this doesn't have the code for [[Filesystem_services|GetGameCardHandle/GetGameCardUpdatePartitionInfo]], and uses [[Filesystem_services|OpenRegisteredUpdatePartition]] instead of [[Filesystem_services|OpenGameCardFileSystem]]. This also uses a different is_initialized bool state flag.
Same as SetupCardUpdate, except this doesn't have the code for [[Filesystem_services|GetGameCardHandle/GetGameCardUpdatePartitionInfo]], and uses [[Filesystem_services|OpenRegisteredUpdatePartition]] instead of [[Filesystem_services|OpenGameCardFileSystem]]. This also uses a different is_initialized bool state flag.