Filesystem services: Difference between revisions
Amend DirectoryEntry structure. The path buffer appears to actually be 0x301 bytes in length (with the additional char being used for the null terminator) |
→fsp-ldr: lol |
||
Line 8: | Line 8: | ||
| 0 || OpenCodeFileSystem || u64 TitleId + X descriptor [[#ContentPath]] || Returns an [[#IFileSystem]]. | | 0 || OpenCodeFileSystem || u64 TitleId + X descriptor [[#ContentPath]] || Returns an [[#IFileSystem]]. | ||
|- | |- | ||
| 1 || IsArchivedProgram || u64 ProcessId || Returns a bool (1 if | | 1 || IsArchivedProgram || u64 ProcessId || Returns a bool (1 if the process id's [[#ContentPath]] ends in ".nca"). | ||
|- | |- | ||
| 2 || [4.0.0+] SetCurrentProcess || PID descriptor || | | 2 || [4.0.0+] SetCurrentProcess || PID descriptor || |