ACTA:ReloadAndBlockSaveData

From 3dbrew
Revision as of 19:28, 7 March 2025 by TimmSkiller (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request[edit]

Index Word Description
0
Header 0x04340003 Cmd 0x0434 Param 0 Xlat 3
1 Descriptor for copying 2 handles
2 System save unload finished event handle
3 Remount system save event handle

Response[edit]

Index Word Description
0
Header 0x04340040 Cmd 0x0434 Param 1 Xlat 0
1 Result code

Description[edit]

This command does the following, in order:

1. Pending HTTP requests are canceled.

2. Pending system save data changes are saved and committed.

3. ACT system save data is unmounted (unloaded).

4. The System save unload finished event handle is signaled, notifying the caller process.

5. ACT then waits on the Remount system save event handle to be signaled by the caller process.

6. ACT system save data is mounted (loaded).

7. Further changes to the system save data are blocked (though, this can be bypassed by letting the system enter sleep mode, then letting it exit sleep mode)