FS:SetThisSaveDataSecureValue: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
TimmSkiller (talk | contribs)
Created page with "=Request= {{IPC/Request}} {{IPC/RequestHeader|0x86E|3|0}} {{IPC/RequestEntry|u32, Secure Value Slot}} {{IPC/RequestEntryRange|2|u64, Ti..."
 
TimmSkiller (talk | contribs)
No edit summary
 
Line 3: Line 3:
{{IPC/RequestHeader|0x86E|3|0}}
{{IPC/RequestHeader|0x86E|3|0}}
{{IPC/RequestEntry|u32, [[Filesystem_services#SecureValueSlot|Secure Value Slot]]}}
{{IPC/RequestEntry|u32, [[Filesystem_services#SecureValueSlot|Secure Value Slot]]}}
{{IPC/RequestEntryRange|2|u64, Title ID}}
{{IPC/RequestEntryRange|2|u64, value}}
{{IPC/RequestEnd}}
{{IPC/RequestEnd}}


Line 15: Line 15:
=Description=
=Description=
Sets the secure value of the title corresponding to the current session.
Sets the secure value of the title corresponding to the current session.
If the caller process is on a game card, the secure value is written to the [[DISA_and_DIFF#DISA_header|DISA save image]]'s header.
Otherwise, the secure value is written to the [[Filesystem_services#Anti_Savegame_Restore|Anti Savegame Restore]] save data.

Latest revision as of 13:16, 1 July 2025

Request

Index Word Description
0
Header 0x86E00C0 Cmd 0x86E Param 3 Xlat 0
1 u32, Secure Value Slot
2-3 u64, value

Response

Index Word Description
0
Header 0x86E0040 Cmd 0x86E Param 1 Xlat 0
1 Result code

Description

Sets the secure value of the title corresponding to the current session.

If the caller process is on a game card, the secure value is written to the DISA save image's header. Otherwise, the secure value is written to the Anti Savegame Restore save data.