Migration services: Difference between revisions
No edit summary |
|||
Line 664: | Line 664: | ||
== savedata == | == savedata == | ||
Used by nn::migration::savedata::*. | Used by nn::migration::savedata::*. | ||
{| class="wikitable" border="1" | |||
|- | |||
! Offset || Size || Description | |||
|- | |||
| 0x0 || 0x8 || AccountId | |||
|- | |||
| 0x8 || 0x8 || ApplicationId | |||
|- | |||
| 0x10 || 0x50 || Unused | |||
|- | |||
| 0x60 || 0x100 || | |||
|- | |||
| 0x160 || 0x20 || SHA256 hash | |||
|} | |||
The hash is calculated by using SHA256-update with each field separately, followed by global constant: | |||
* AccountId | |||
* ApplicationId | |||
* +0x60 size 0x100-bytes | |||
* 0x100-bytes global constant | |||
[20.0.0+]: | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" |