aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/file_sys
Commit message (Collapse)AuthorAge
...
* SaveData: Implemented the SystemSaveData archive.Gravatar Subv2014-12-17
| | | | It will be stored in the /syssavedata folder. This archive is user by various Services and possibly games via the FS:U service.
* Filesystem/Archives: Implemented the SaveData archiveGravatar Subv2014-12-17
| | | | | | | | | | 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 handlesGravatar Yuri Kunde Schlesner2014-12-16
| | | | | | | - 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 FileBackendGravatar Yuri Kunde Schlesner2014-12-16
|
* Service.FS: Rename FileSys::Directory to DirectoryBackendGravatar Yuri Kunde Schlesner2014-12-16
|
* Service.FS: Rename FileSys::Archive to ArchiveBackendGravatar Yuri Kunde Schlesner2014-12-16
|
* Service.FS: Do archive registration using IdCode instead of nameGravatar Yuri Kunde Schlesner2014-12-16
|
* Convert old logging calls to new logging macrosGravatar Yuri Kunde Schlesner2014-12-13
|
* Merge pull request #264 from Subv/filesGravatar bunnei2014-12-08
|\ | | | | Kernel/File: Fixed file read/write hwtests
| * Kernel/File: Fixed file read/write hwtestsGravatar Subv2014-12-08
| | | | | | | | | | | | The 3DS allows the user to read from files opened with the Write access modifier, even if he did not specify the Read access modifier. Open the files in binary mode so that we can prevent CR/LF problems in Windows, where a line-end is replaced by these two bytes instead of just 0xA, this was causing problems with the GetSize test
* | Make OpenDirectory fail if the directory doesn't existGravatar archshift2014-12-07
|/ | | | | | | 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/renamexyzGravatar bunnei2014-12-04
|\ | | | | Implemented RenameFile and RenameDirectory in FS:USER
| * Updated archive.cpp functions for proper error handlingGravatar archshift2014-12-03
| |
* | Fixed formatting and switch statement warningsGravatar vaguilar2014-11-27
| |
| * Implemented RenameDirectory in FS:USERGravatar archshift2014-11-24
| |
| * Implemented RenameFile in FS:USERGravatar archshift2014-11-24
|/
* Merge pull request #191 from archshift/deletexyzGravatar bunnei2014-11-23
|\ | | | | Added DeleteFile and DeleteDirectory functions to FS:USER and the archives.
| * Added DeleteFile and DeleteDirectory functions to FS:USER and the archives.Gravatar archshift2014-11-23
| |
* | Remove trailing spaces in every file but the ones imported from SkyEye, AOSP ↵Gravatar Emmanuel Gil Peyrot2014-11-19
| | | | | | | | or generated
* | Merge pull request #209 from lioncash/warnGravatar Tony Wasserka2014-11-18
|\ \ | | | | | | directory_sdmc: Fix a signed/unsigned mismatch comparison
| * | directory_sdmc: Fix a signed/unsigned mismatch comparisonGravatar Lioncash2014-11-18
| |/
* / Remove extraneous semicolonsGravatar Lioncash2014-11-18
|/
* FileSys: Updated backend code to use FileSys::Path instead of string for paths.Gravatar bunnei2014-11-17
|
* FileSys: Added DebugStr method to Path class.Gravatar bunnei2014-11-17
|
* Use std::u16string for conversion between UTF-8 and UTF-16, FS:USER functionsGravatar archshift2014-11-12
|
* Added CreateDirectory function to service/fs.cpp, and in Archive.Gravatar archshift2014-11-02
|
* Fix some warningsGravatar Sean2014-10-29
|
* Use config files to store whether SDMC is enabled or notGravatar archshift2014-10-22
| | | | 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).
* Common: Add a helper function to generate a 8.3 filename from a long one.Gravatar Emmanuel Gil Peyrot2014-10-06
| | | | Core: Fix the SDMC Directory implementation to make blargSnes work.
* FileSys: Add static asserts for the Directory struct, and fix its fields ↵Gravatar Emmanuel Gil Peyrot2014-10-06
| | | | position.
* FileSys: split the constructor into an Open method, in order to notify the ↵Gravatar Emmanuel Gil Peyrot2014-10-06
| | | | | | opener something went wrong. Kernel: Return an invalid handle to OpenFile when it failed to open.
* FileSys/Kernel: Implement SetSize service call for File objects.Gravatar Emmanuel Gil Peyrot2014-10-06
|
* FileSys: Add forgotten docstrings.Gravatar Emmanuel Gil Peyrot2014-10-06
|
* Fix warnings in core and commonGravatar Lioncash2014-09-28
|
* Core: Add a method to obtain a Directory from an Archive.Gravatar Emmanuel Gil Peyrot2014-09-17
|
* Core: Add a Directory object, with both a stub and a passthrough ↵Gravatar Emmanuel Gil Peyrot2014-09-17
| | | | implementations.
* Core: Add a passthrough backend for the filesystem, exposed as SDMC.Gravatar Emmanuel Gil Peyrot2014-09-17
|
* Core: Add a new File class, obtainable from an Archive, and a stub ↵Gravatar Emmanuel Gil Peyrot2014-09-17
| | | | implementation.
* Added FS functions to Archive and Archive_RomFSGravatar archshift2014-08-22
|
* Marked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS virtual functions as ↵Gravatar bunnei2014-07-04
| | | | "override".
* Marked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS classes as "final"Gravatar bunnei2014-07-04
|
* Loader: Updated read methods to be constGravatar bunnei2014-07-04
| | | | - Required "file" handle to be made local and explicitly opened/closed as needed
* FileSys: Added preliminary support for applications reading the RomFS archive.Gravatar bunnei2014-07-04
| | | | | | | | | | 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.
* Core: Removed unused directory_file_system and meta_file_system modules.Gravatar bunnei2014-06-27
| | | | Core: Updated CMakeLists.txt to remove directory_file_system and meta_file_system modules.
* fixes to build on linuxGravatar bunnei2014-04-22
|
* fixed project includes to use new directory structureGravatar bunnei2014-04-08
|
* got rid of 'src' folders in each sub-projectGravatar bunnei2014-04-08