Applet Manager services: Difference between revisions
Line 862: | Line 862: | ||
| 15 || [7.0.0+] [[#CreateApplicationWithAttributeAndRequestToStartForQuest]] || | | 15 || [7.0.0+] [[#CreateApplicationWithAttributeAndRequestToStartForQuest]] || | ||
|- | |- | ||
| 20 || EnsureSaveData || | | 20 || [[#EnsureSaveData]] || | ||
|- | |- | ||
| 21 || [[#GetDesiredLanguage]] || | | 21 || [[#GetDesiredLanguage]] || | ||
Line 974: | Line 974: | ||
Same as [[#CreateApplicationAndRequestToStartForQuest]] except the entire attributes structure is directly specified via the input buffer. This command replaces [[#CreateApplicationAndRequestToStartForQuest]], official user-processes no longer use [[#CreateApplicationAndPushAndRequestToStartForQuest]]. | Same as [[#CreateApplicationAndRequestToStartForQuest]] except the entire attributes structure is directly specified via the input buffer. This command replaces [[#CreateApplicationAndRequestToStartForQuest]], official user-processes no longer use [[#CreateApplicationAndPushAndRequestToStartForQuest]]. | ||
==== EnsureSaveData ==== | |||
Takes an input u128 userID, returns an output u64 size. | |||
Calls sdk func <code>nn::fs::EnsureApplicationSaveData</code>. [[qlaunch]] also calls this same sdk func directly. | |||
Creates the various savedata as specified by the application [[NACP_Format|control.nacp]] when the savedata doesn't exist. | |||
Official user-processes launch the dataErase LibraryApplet depending on the Result, the above output size is used with this. | |||
==== GetDesiredLanguage ==== | ==== GetDesiredLanguage ==== |