summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/archive_sdmc.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-12-21License changepurpasmart961-1/+1
2014-12-18Filesystem/Archives: Implemented the SaveData archiveSubv1-81/+2
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
2014-12-16FS.Archive: Clean up treatment of archives and their handlesYuri Kunde Schlesner1-41/+0
- Refactor FS::Archive internals to make Archive creation and lifetime management clearer. - Remove the "Archive as a File" hack. - Implement 64-bit Archive handles.
2014-12-16Service.FS: Rename FileSys::File to FileBackendYuri Kunde Schlesner1-2/+2
2014-12-16Service.FS: Rename FileSys::Directory to DirectoryBackendYuri Kunde Schlesner1-2/+2
2014-12-13Convert old logging calls to new logging macrosYuri Kunde Schlesner1-9/+9
2014-12-07Make OpenDirectory fail if the directory doesn't existarchshift1-0/+2
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 .
2014-12-04Updated archive.cpp functions for proper error handlingarchshift1-12/+0
2014-11-27Fixed formatting and switch statement warningsvaguilar1-1/+1
2014-11-25Implemented RenameDirectory in FS:USERarchshift1-0/+10
2014-11-25Implemented RenameFile in FS:USERarchshift1-0/+10
2014-11-23Added DeleteFile and DeleteDirectory functions to FS:USER and the archives.archshift1-0/+18
2014-11-18FileSys: Updated backend code to use FileSys::Path instead of string for paths.bunnei1-6/+6
2014-11-02Added CreateDirectory function to service/fs.cpp, and in Archive.archshift1-0/+9
2014-10-23Use config files to store whether SDMC is enabled or notarchshift1-2/+8
Before, it used to use whether the directory actually existed. As a result, .citra-emu/sdmc was never auto-created (something quite confusing to me until I read through the logs).
2014-10-06FileSys: split the constructor into an Open method, in order to notify the opener something went wrong.Emmanuel Gil Peyrot1-0/+2
Kernel: Return an invalid handle to OpenFile when it failed to open.
2014-10-06FileSys: Add forgotten docstrings.Emmanuel Gil Peyrot1-0/+4
2014-09-17Core: Add a method to obtain a Directory from an Archive.Emmanuel Gil Peyrot1-0/+12
2014-09-17Core: Add a passthrough backend for the filesystem, exposed as SDMC.Emmanuel Gil Peyrot1-0/+96