summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/directory.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* core: Remove unused includesameerj2021-11-041-1/+0
|
* file_sys/directory: Make EntryType an enum classLioncash2019-11-271-1/+1
| | | | | This can trivially be an enum class rather than a regular enum, making it more strongly typed.
* file_sys/directory: Remove unused DirectoryBackend classLioncash2019-01-181-23/+0
| | | | This isn't used at all, so we can just get rid of it.
* file_sys/directory: Amend path buffer size for directory entriesLioncash2018-12-031-2/+2
| | | | | The path buffer is actually 0x301 (769) characters in length, with the extra character being intended for the null-terminator.
* Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi2018-09-151-1/+1
|
* fsp_srv: Use std::string_view's copy() function instead of strncpy()Lioncash2018-08-091-3/+9
| | | | | | Given elements inserted into a vector are zeroed out, we can just copy MAX_LEN - 1 elements and the data will already be properly null terminated.
* Virtual Filesystem 2: Electric Boogaloo (#676)Zach Hilman2018-07-191-1/+5
| | | | | | | | | | * Virtual Filesystem * Fix delete bug and documentate * Review fixes + other stuff * Fix puyo regression
* FS: Updated the Directory Entry structure to match the Switch.Subv2018-03-201-20/+17
|
* file_sys: Cleanup to better match Switch file system constructs.bunnei2018-01-211-0/+58
| | | | file_sys: Add factory class for RomFS file system.
* Service.FS: Rename FileSys::Directory to DirectoryBackendYuri Kunde Schlesner2014-12-161-65/+0
|
* Make OpenDirectory fail if the directory doesn't existarchshift2014-12-071-0/+6
| | | | | | | This is in line with what the hardware itself does. It does this by splitting the initial directory opening into Directory.Open(), which will return false if a stat fails. Then, Archive::OpenDirectory will return nullptr, and archive.cpp will return an error code .
* Common: Add a helper function to generate a 8.3 filename from a long one.Emmanuel Gil Peyrot2014-10-061-2/+2
| | | | Core: Fix the SDMC Directory implementation to make blargSnes work.
* FileSys: Add static asserts for the Directory struct, and fix its fields position.Emmanuel Gil Peyrot2014-10-061-2/+8
|
* Core: Add a Directory object, with both a stub and a passthrough implementations.Emmanuel Gil Peyrot2014-09-171-0/+53