Filesystem services: Difference between revisions
→OutputAccessLogToSdCard: (From earlier) |
No edit summary |
||
Line 93: | Line 93: | ||
| 200 || OpenHost | | 200 || OpenHost | ||
|- | |- | ||
| 202 || OpenDataStorageByDataId | | 202 || [[#OpenDataStorageByDataId]] | ||
|- | |- | ||
| 203 || Returns an [[#IStorage]]. | | 203 || Returns an [[#IStorage]]. | ||
Line 243: | Line 243: | ||
Returns an [[#IFileSystem]] with NCA files. The read data from these files is identical to the data read by [[Content_Manager_services#ReadEntryRaw]]. | Returns an [[#IFileSystem]] with NCA files. The read data from these files is identical to the data read by [[Content_Manager_services#ReadEntryRaw]]. | ||
== OpenDataStorageByDataId == | |||
Takes a [[#StorageId]] and a TitleID. | |||
Returns a [[IPC_Marshalling#Domain_message|domain object ID]] implementing the [[#IStorage]] interface for data archives. | |||
== OpenDeviceOperator == | == OpenDeviceOperator == | ||
Line 286: | Line 291: | ||
| 0 || Read || Takes a type-0x46 buffer, an offset and length | | 0 || Read || Takes a type-0x46 buffer, an offset and length | ||
|- | |- | ||
| 1 || Write || | | 1 || Write || Takes a type-0x45 buffer, an offset and length | ||
|- | |- | ||
| 2 || Flush || | | 2 || Flush || None | ||
|- | |- | ||
| 3 || SetSize || | | 3 || SetSize || Takes a size | ||
|- | |- | ||
| 4 || GetSize || None | | 4 || GetSize || None | ||
Line 485: | Line 490: | ||
= ContentPath = | = ContentPath = | ||
These are the 0x300 paths to NCA files for the various filesystems FS can access, beginning with @. They're passed via X descriptors, and returned via various [[Location Resolver services|ncm/lr]] commands. | These are the 0x300 paths to NCA files for the various filesystems FS can access, beginning with @. They're passed via X descriptors, and returned via various [[Location Resolver services|ncm/lr]] commands. | ||
Line 506: | Line 510: | ||
| @UserContent || NandUser partition. | | @UserContent || NandUser partition. | ||
|} | |} | ||
=BisPartitionID= | =BisPartitionID= |