aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/archive_sdmc.cpp
AgeCommit message (Collapse)Author
2017-10-12Remove lots more 3DS-specific code.bunnei
2017-07-31Handle invalid filenames when renaming files/directoriesJames
2017-03-08file_sys: lower log level for setting host pathwwylele
2017-01-29core: fix archive_sdmc.cpp warnings about unhandled enumeration value on OSXKloen
2016-11-19FileSys: w->rw permission lift only happens in SDMC archivewwylele
2016-11-19FileSys: add SDMCArchivewwylele
Now DiskArchive only serves for SDMC, then it should be just a "SDMCArchive"
2016-09-21Use negative priorities to avoid special-casing the self-includeYuri Kunde Schlesner
2016-09-21Remove empty newlines in #include blocks.Emmanuel Gil Peyrot
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot
2016-04-05Common: Remove Common::make_unique, use std::make_uniqueMerryMage
2016-03-20HLE/FS: Implemented GetFormatInfoSubv
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.
2015-06-28Core: Cleanup file_sys includes.Emmanuel Gil Peyrot
2015-05-07Common: Remove common.hYuri Kunde Schlesner
2015-02-10FS: Allow multiple instances of the same archive type to be open at onceYuri Kunde Schlesner
2015-01-06Archives: Addressed some commentsSubv
2014-12-20License changepurpasmart96
2014-12-17Filesystem/Archives: Implemented the SaveData archiveSubv
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 Schlesner
- 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 Schlesner
2014-12-16Service.FS: Rename FileSys::Directory to DirectoryBackendYuri Kunde Schlesner
2014-12-13Convert old logging calls to new logging macrosYuri Kunde Schlesner
2014-12-07Make OpenDirectory fail if the directory doesn't existarchshift
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-04Merge pull request #222 from archshift/renamexyzbunnei
Implemented RenameFile and RenameDirectory in FS:USER
2014-12-03Updated archive.cpp functions for proper error handlingarchshift
2014-11-27Fixed formatting and switch statement warningsvaguilar
2014-11-24Implemented RenameDirectory in FS:USERarchshift
2014-11-24Implemented RenameFile in FS:USERarchshift
2014-11-23Added DeleteFile and DeleteDirectory functions to FS:USER and the archives.archshift
2014-11-17FileSys: Updated backend code to use FileSys::Path instead of string for paths.bunnei
2014-11-02Added CreateDirectory function to service/fs.cpp, and in Archive.archshift
2014-10-22Use config files to store whether SDMC is enabled or notarchshift
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 ↵Emmanuel Gil Peyrot
opener something went wrong. Kernel: Return an invalid handle to OpenFile when it failed to open.
2014-10-06FileSys: Add forgotten docstrings.Emmanuel Gil Peyrot
2014-09-17Core: Add a method to obtain a Directory from an Archive.Emmanuel Gil Peyrot
2014-09-17Core: Add a passthrough backend for the filesystem, exposed as SDMC.Emmanuel Gil Peyrot