summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/disk_archive.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* FileSys: remove unused DiskArchivewwylele2016-11-191-32/+0
| | | | All "subclasses" of DiskArchive are splitted out. This class is useless
* FileSys: remove Open from FileBackendwwylele2016-11-191-3/+4
| | | | Same as directory, file shouldn't expose Open either.
* FileSys: remove Open from DirectoryBackendwwylele2016-11-191-3/+1
| | | | 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
* FileSys: make Archive interfaces return error codewwylele2016-11-011-7/+7
| | | | and make the mode parameter a reference since it is a BitField union
* fs: implement DeleteDirectoryRecursivelywwylele2016-10-021-0/+1
|
* Remove empty newlines in #include blocks.Emmanuel Gil Peyrot2016-09-211-2/+0
| | | | | | | This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
* Manually tweak source formatting and then re-run clang-formatYuri Kunde Schlesner2016-09-191-2/+1
|
* Sources: Run clang-format on everything.Emmanuel Gil Peyrot2016-09-181-3/+7
|
* HLE/FS: Return the proper error codes when opening files.Subv2016-03-201-2/+2
|
* HLE/FS: Return the proper error codes on file Read/Write operations.Subv2016-03-201-2/+2
| | | | These operations are limited by the open flags specified while opening the file.
* HLE/FS: Corrected the error codes for DeleteFileSubv2016-03-201-1/+1
|
* HLE/FS: FS::CreateFile takes an u64 for the file size.Subv2016-03-201-1/+1
|
* Implement FS_User::GetFreeBytesarchshift2015-10-281-0/+1
|
* disk_archive: Remove unimplemented constructor declarationsLioncash2015-09-101-2/+0
|
* Archive: Correct a few incorrect types in function signaturesYuri Kunde Schlesner2015-07-141-4/+4
| | | | Buffer lengths should be size_t, and file offsets should be u64.
* Core: Cleanup file_sys includes.Emmanuel Gil Peyrot2015-06-281-1/+6
|
* FileSys: Clean-up includes, de-inline destructorsYuri Kunde Schlesner2015-05-071-0/+2
|
* Headers: Add some forgotten overrides, thanks clang!Emmanuel Gil Peyrot2015-04-141-1/+1
|
* FS: Allow multiple instances of the same archive type to be open at onceYuri Kunde Schlesner2015-02-101-18/+7
|
* FileSys: Fix crash bug in DiskFile exposed by #400Yuri Kunde Schlesner2015-01-031-4/+0
|
* FileSys: Fix a few memory leaksYuri Kunde Schlesner2015-01-031-1/+1
|
* Archives: Implemented ExtSaveData and SharedExtSaveDataSubv2014-12-301-1/+6
| | | | | | | | They will be stored in /extsavedata/SDMC and /extsavedata/NAND respectively. Also redirect some APT_A functions to their APT_U equivalents. Implemented the gamecoin.dat file in SharedExtSaveData in the PTM module. Implemented formatting the savegame. Retake a previous savegame if it exists instead of reporting them as not formatted every time a game is loaded.
* FileSys: Clean up according to the coding style, and remove redundant namespaced names.Emmanuel Gil Peyrot2014-12-241-8/+8
|
* CFG: Create a new subfolder cfg inside service to handle cfgSubv2014-12-211-0/+1
| | | | Moved most of the shared CFG code there, implemented a few CFG:I functions
* Merge pull request #291 from purpasmart96/licensebunnei2014-12-211-1/+1
|\ | | | | License change
| * License changepurpasmart962014-12-211-1/+1
| |
* | Added CreateFile to the FS_USER servicearchshift2014-12-211-0/+1
|/ | | | Tested with hwtests.
* Filesystem/Archives: Implemented the SaveData archiveSubv2014-12-181-0/+101
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