wwylele
d7d6975af0
FileSys: rename SaveDataCheck archive to NCCH archive
According to the observation from game and 3dbrew "Used for accessing general NCCH data"
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
Emmanuel Gil Peyrot
dc8479928c
Sources: Run clang-format on everything.
9 years ago
Subv
d26c6b3212
HLE/FS: Implemented GetFormatInfo
Format information is currently only implemented for the ExtSaveData, SharedExtSaveData and SaveData archives, the information is stored in a file alongside the root folder of the archive.
10 years ago
Emmanuel Gil Peyrot
e5fcabdd69
Core: Cleanup file_sys includes.
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
aade417b14
Archives: Reduced duplicate code in RomFS and SaveCheck.
Fixed a few warnings and cleaned up the code
11 years ago
purpasmart96
ebfd831ccb
License change
11 years ago
Subv
ea9ce0fba7
Filesystem/Archives: Implemented the SaveData archive
The savedata for each game is stored in /savedata/<ProgramID> for NCCH files. ELF files and 3DSX files use the folder 0 because they have no ID information
Got rid of the code duplication in File and Directory
Files that deal with the host machine's file system now live in DiskFile, similarly for directories and DiskDirectory and archives with DiskArchive.
FS_U: Use the correct error code when a file wasn't found
11 years ago
Yuri Kunde Schlesner
83e6e4ffec
FS.Archive: Clean up treatment of archives and their handles
- Refactor FS::Archive internals to make Archive creation and lifetime
management clearer.
- Remove the "Archive as a File" hack.
- Implement 64-bit Archive handles.
11 years ago
Yuri Kunde Schlesner
0931a42af0
Service.FS: Rename FileSys::File to FileBackend
11 years ago
Yuri Kunde Schlesner
d51afab0bc
Service.FS: Rename FileSys::Directory to DirectoryBackend
11 years ago
Yuri Kunde Schlesner
82fe821e87
Service.FS: Rename FileSys::Archive to ArchiveBackend
11 years ago
Yuri Kunde Schlesner
f6153679b0
Service.FS: Do archive registration using IdCode instead of name
11 years ago
archshift
e5ff01c2cd
Implemented RenameDirectory in FS:USER
11 years ago
archshift
45afc15aa6
Implemented RenameFile in FS:USER
11 years ago
archshift
8aeadbd95a
Added DeleteFile and DeleteDirectory functions to FS:USER and the archives.
11 years ago
Lioncash
1a8f466217
Remove extraneous semicolons
11 years ago
bunnei
a3107a6b57
FileSys: Updated backend code to use FileSys::Path instead of string for paths.
11 years ago
archshift
04c90c395d
Added CreateDirectory function to service/fs.cpp, and in Archive.
11 years ago
Emmanuel Gil Peyrot
d34673990b
FileSys: Add forgotten docstrings.
11 years ago
Emmanuel Gil Peyrot
c14e5713f5
Core: Add a method to obtain a Directory from an Archive.
11 years ago
Emmanuel Gil Peyrot
e73caaefe5
Core: Add a passthrough backend for the filesystem, exposed as SDMC.
11 years ago
Emmanuel Gil Peyrot
9251f7e2f8
Core: Add a new File class, obtainable from an Archive, and a stub implementation.
11 years ago
archshift
4c4a01bf41
Added FS functions to Archive and Archive_RomFS
12 years ago
bunnei
1099d83455
Marked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS virtual functions as "override".
12 years ago
bunnei
2d734bb6c5
Marked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS classes as "final"
12 years ago
bunnei
2c62d92551
Loader: Updated read methods to be const
- Required "file" handle to be made local and explicitly opened/closed as needed
12 years ago
bunnei
17a6148f9d
FileSys: Added preliminary support for applications reading the RomFS archive.
Archive: Fixed brace ugliness for neobrain :)
FS: Commented out unused local variables to prevent warnings.
...But keeping them here for future use.
archive_romfs: Removed unused #include.
12 years ago