Difference between revisions of "NIMU:GetSavedHash"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x000B0000] |} =Response= {| class="wikitable" border="1" |- ! Index Word !...")
 
 
(2 intermediate revisions by 2 users not shown)
Line 16: Line 16:
 
|-
 
|-
 
| 0
 
| 0
| Header code
+
| Header code [0x000B0280]
 
|-
 
|-
 
| 1
 
| 1
 
| Result code
 
| Result code
 
|-
 
|-
| 2-11
+
| 2-10
| Output ASCII hex string, last word is set to all-zero for NUL-termination.
+
| Saved Hash String (NUL-Terminated)
 
|}
 
|}
  
 
=Description=
 
=Description=
 +
Gets the currently stored system update hash.
 +
 
A certain internal NIM state flag must be non-zero, otherwise error 0xE0A0D3F8 is returned. This is the only time this command can return non-zero.
 
A certain internal NIM state flag must be non-zero, otherwise error 0xE0A0D3F8 is returned. This is the only time this command can return non-zero.
  
This writes the SystemTitleHash already stored in memory to the command response.
+
This writes the SystemTitleHash already stored in memory to the command response. This is initially from savedata. When doing SOAP request(s) this data is updated with the latest data from the SOAP response, then the data for this in savedata is updated.

Latest revision as of 05:32, 3 March 2023

Request[edit]

Index Word Description
0 Header code [0x000B0000]

Response[edit]

Index Word Description
0 Header code [0x000B0280]
1 Result code
2-10 Saved Hash String (NUL-Terminated)

Description[edit]

Gets the currently stored system update hash.

A certain internal NIM state flag must be non-zero, otherwise error 0xE0A0D3F8 is returned. This is the only time this command can return non-zero.

This writes the SystemTitleHash already stored in memory to the command response. This is initially from savedata. When doing SOAP request(s) this data is updated with the latest data from the SOAP response, then the data for this in savedata is updated.