NIM services: Difference between revisions
SystemUpdateTask -> SystemUpdateTaskId |
→SystemUpdateTaskInfo: corrections |
||
Line 392: | Line 392: | ||
! Description | ! Description | ||
|- | |- | ||
| 0x0 || 0x1 || | | 0x0 || 0x1 || InstallProgressState | ||
|- | |- | ||
| | | 0x4 || 0x4 || LastResult | ||
|- | |- | ||
| 0x8 || 0x8 || | | 0x8 || 0x8 || InstalledSize | ||
|- | |- | ||
| 0x10 || 0x8 || | | 0x10 || 0x8 || TotalSize | ||
|- | |- | ||
| 0x18 || 0x8 || | | 0x18 || 0x8 || [[NCM_services#ContentMetaKey|ContentMetaKey]] | ||
|- | |- | ||
| | | 0x28 || 0x8 || BytesInstalled | ||
|- | |- | ||
| | | 0x30 || 0x8 || ElapsedTimeNs | ||
|- | |- | ||
| 0x38 || 0x1 || SystemUpdateTaskApplyInfo | |||
| 0x38 || | |||
|} | |} | ||
This is a 0x28-byte struct. [3.0.0+] This is a 0x38-byte struct. [5.0.0+] This is a 0x40-byte struct. | This is a 0x28-byte struct. [3.0.0+] This is a 0x38-byte struct. [5.0.0+] This is a 0x40-byte struct. | ||
The 0x10-bytes at +0x8 are returned by [[NS_Services#GetDownloadProgress]]. | The first 0x18-bytes are obtained from [[NCM_services#GetProgress]] and the 0x10-bytes at +0x8 are returned by [[NS_Services#GetDownloadProgress]]. | ||
The two u64s at +0x28/+0x30 are obtained from [[NCM_services#GetThroughput]] and used by [[NS_Services|NS]] to calculate "ThroughputKBps" for a SystemPlayReport. | |||
The | The byte at +0x38 is obtained from [[NCM_services#GetSystemUpdateTaskApplyInfo]]. | ||
== NetworkInstallTask == | == NetworkInstallTask == |