summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/archive_sdmc.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* License changepurpasmart962014-12-211-1/+1
|
* Filesystem/Archives: Implemented the SaveData archiveSubv2014-12-181-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
* FS.Archive: Clean up treatment of archives and their handlesYuri Kunde Schlesner2014-12-161-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.
* Service.FS: Rename FileSys::File to FileBackendYuri Kunde Schlesner2014-12-161-2/+2
|
* Service.FS: Rename FileSys::Directory to DirectoryBackendYuri Kunde Schlesner2014-12-161-2/+2
|
* Convert old logging calls to new logging macrosYuri Kunde Schlesner2014-12-131-9/+9
|
* Make OpenDirectory fail if the directory doesn't existarchshift2014-12-071-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 .
* Merge pull request #222 from archshift/renamexyzbunnei2014-12-051-0/+8
|\ | | | | Implemented RenameFile and RenameDirectory in FS:USER
| * Updated archive.cpp functions for proper error handlingarchshift2014-12-041-12/+0
| |
| * Implemented RenameDirectory in FS:USERarchshift2014-11-251-0/+10
| |
| * Implemented RenameFile in FS:USERarchshift2014-11-251-0/+10
| |
* | Fixed formatting and switch statement warningsvaguilar2014-11-271-1/+1
|/
* Added DeleteFile and DeleteDirectory functions to FS:USER and the archives.archshift2014-11-231-0/+18
|
* FileSys: Updated backend code to use FileSys::Path instead of string for paths.bunnei2014-11-181-6/+6
|
* Added CreateDirectory function to service/fs.cpp, and in Archive.archshift2014-11-021-0/+9
|
* Use config files to store whether SDMC is enabled or notarchshift2014-10-231-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).
* FileSys: split the constructor into an Open method, in order to notify the opener something went wrong.Emmanuel Gil Peyrot2014-10-061-0/+2
| | | | Kernel: Return an invalid handle to OpenFile when it failed to open.
* FileSys: Add forgotten docstrings.Emmanuel Gil Peyrot2014-10-061-0/+4
|
* Core: Add a method to obtain a Directory from an Archive.Emmanuel Gil Peyrot2014-09-171-0/+12
|
* Core: Add a passthrough backend for the filesystem, exposed as SDMC.Emmanuel Gil Peyrot2014-09-171-0/+96