Filesystem services: Difference between revisions

Magic (talk | contribs)
No edit summary
No edit summary
Line 8: Line 8:
| 2 || MountRomFs
| 2 || MountRomFs
|-
|-
| 7 || MountContent7
| 7 || [[#MountContent7]]
|-
|-
| 8 || MountContent
| 8 || [[#MountContent]]
|-
|-
| 11 || OpenBisFileSystem
| 11 || OpenBisFileSystem
Line 138: Line 138:


== MountContent7 ==
== MountContent7 ==
Takes an input u32([[NCA]]-type) and an u64 titleID. Web-applet loads the u32 from u32_table[inparam].
Takes an input u32 ([[NCA]]-type) and an u64 title-id. Web-applet loads the u32 from u32_table[inparam].


Returns an [[#IFileSystem]].
Returns an [[#IFileSystem]].
Line 145: Line 145:


== MountContent ==
== MountContent ==
Takes a type-0x19 input buffer, an input u32(same as MountContent7), and an input u64 titleID.
Takes a type-0x19 input buffer, an in32, and an input title-id.
 
The in32 must be 5 if the NCA type is 0 (control).


The input buffer is the output string path from nsam [[NS_Services#GetContentNcaPath|GetContentNcaPath]].
The input buffer is the output string path from nsam [[NS_Services#GetContentNcaPath|GetContentNcaPath]].