Difference between revisions of "FS:ControlSecureSave"

From 3dbrew
Jump to navigation Jump to search
(Action values.)
m (Correct 0x0 values.)
 
(One intermediate revision by the same user not shown)
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 68: Line 56:
 
| 0
 
| 0
 
| Deletes a save's secure value.
 
| Deletes a save's secure value.
| u64, Title ID
+
| u64, (([[Filesystem_services#SecureValueSlot|SecureValueSlot]] << 32) | (TitleUniqueId << 8) | TitleVariation)
| u8, Success
+
| u8, Value Existed
 
|-
 
|-
 
| 1
 
| 1

Latest revision as of 02: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