Difference between revisions of "FS:ControlSecureSave"

From 3dbrew
Jump to navigation Jump to search
(ControlSecureSave)
 
m (Correct 0x0 values.)
 
(3 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
|-
 
|-
 
| 0
 
| 0
| Header code [0x040100C4]
+
| Header code [0x086700C4]
 
|-
 
|-
 
| 1
 
| 1
Line 41: Line 41:
 
| 1
 
| 1
 
| Result code
 
| Result code
|-
 
| 2
 
| (inputSize << 4) <nowiki>|</nowiki> 0xA
 
|-
 
| 3
 
| void* Input
 
|-
 
| 4
 
| (outputSize << 4) <nowiki>|</nowiki> 0xC
 
|-
 
| 5
 
| void* Output
 
 
|}
 
|}
  
Line 67: Line 55:
 
|-
 
|-
 
| 0
 
| 0
| ?
+
| Deletes a save's secure value.
| ?
+
| u64, (([[Filesystem_services#SecureValueSlot|SecureValueSlot]] << 32) | (TitleUniqueId << 8) | TitleVariation)
| ?
+
| u8, Value Existed
 +
|-
 +
| 1
 +
| Formats a save.
 +
| None
 +
| None
 
|}
 
|}

Latest revision as of 01:57, 18 October 2015

Request[edit]

Index Word Description
0 Header code [0x086700C4]
1 Action
2 Input Size
3 Output Size
4 (inputSize << 4) | 0xA
5 void* Input
6 (outputSize << 4) | 0xC
7 void* Output

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

This allows performing extra actions on secure saves.

Action[edit]

Value Description Input Output
0 Deletes a save's secure value. u64, ((SecureValueSlot << 32) | (TitleUniqueId << 8) | TitleVariation) u8, Value Existed
1 Formats a save. None None