Subv
a9ba2c2000
FS: Updated the Directory Entry structure to match the Switch.
8 years ago
Subv
d140c8ecf7
Filesystem: Added a SaveData Factory and associated Disk_FileSystem.
8 years ago
bunnei
00851a5ef4
file_sys: Cleanup to better match Switch file system constructs.
file_sys: Add factory class for RomFS file system.
8 years ago
bunnei
7988f02489
archive_backend: Minor changes to match Switch IFileSystem.
8 years ago
bunnei
2f71a32363
file_sys: Repurpose 3DS IVFC code for Switch ROMFS.
8 years ago
wwylele
9a0405858a
FileSys: remove Open from FileBackend
Same as directory, file shouldn't expose Open either.
9 years ago
wwylele
0e754875d1
FileSys: remove Open from DirectoryBackend
Open should not be an interface exposed by Directory because it is the Archive thats implement the methed to open the directory. The service API of 3DS also implies this - Open is not a function of directory service, but is of FS main service
9 years ago
wwylele
4dd8a831bd
FileSys: make Archive interfaces return error code
and make the mode parameter a reference since it is a BitField union
9 years ago
wwylele
96b0e9476b
fs: implement DeleteDirectoryRecursively
9 years ago
Emmanuel Gil Peyrot
ebdae19fd2
Remove empty newlines in #include blocks.
This makes clang-format useful on those.
Also add a bunch of forgotten transitive includes, which otherwise
prevented compilation.
9 years ago
Yuri Kunde Schlesner
396a8d91a4
Manually tweak source formatting and then re-run clang-format
9 years ago
Emmanuel Gil Peyrot
dc8479928c
Sources: Run clang-format on everything.
9 years ago
Subv
95b34f8081
HLE/FS: Return the proper error codes when opening files.
10 years ago
Subv
96f0e32f83
HLE/FS: Return the proper error codes on file Read/Write operations.
These operations are limited by the open flags specified while opening the file.
10 years ago
Subv
09b0564c75
HLE/FS: Corrected the error codes for DeleteFile
10 years ago
Subv
381a5c053f
HLE/FS: FS::CreateFile takes an u64 for the file size.
10 years ago
archshift
5dfd2dba70
Implement FS_User::GetFreeBytes
10 years ago
Yuri Kunde Schlesner
a1f08788d9
Archive: Correct a few incorrect types in function signatures
Buffer lengths should be size_t, and file offsets should be u64.
11 years ago
condut
c385b7767d
FS: Stream RomFS from file instead of loading all of it to memory
11 years ago
Emmanuel Gil Peyrot
e5fcabdd69
Core: Cleanup file_sys includes.
11 years ago
Yuri Kunde Schlesner
6f89d25f90
FileSys: Clean-up includes, de-inline destructors
11 years ago
Yuri Kunde Schlesner
3f1a3952d7
FS: Allow multiple instances of the same archive type to be open at once
11 years ago
Subv
0d03fdec71
SaveDataCheck: Remove unneeded constructor from a class
11 years ago
Subv
2f9a2d410d
Archives: Added some documentation to IVFCArchive
11 years ago
Subv
aade417b14
Archives: Reduced duplicate code in RomFS and SaveCheck.
Fixed a few warnings and cleaned up the code
11 years ago