aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys
AgeCommit message (Collapse)Author
2014-12-21CFG: Implemented the GetConfigInfoBlk2 function.Subv
Added a "config" file to the CFG process service (CFG:U), and added a few default blocks to it. Implemented GetSystemModel and GetModelNintendo2DS
2014-12-21Merge pull request #291 from purpasmart96/licensebunnei
License change
2014-12-21Merge pull request #271 from archshift/createfbunnei
Added CreateFile to the FS_USER service
2014-12-21Added CreateFile to the FS_USER servicearchshift
Tested with hwtests.
2014-12-20License changepurpasmart96
2014-12-20Merge pull request #315 from chinhodado/masterbunnei
Clean up some warnings
2014-12-20Clean up some warningsChin
2014-12-20Common: Add a clone of std::make_uniqueYuri Kunde Schlesner
2014-12-18SystemSaveData: Added a TODO to move it to the NAND.Subv
Maybe sometime when we actually implement that
2014-12-17SaveData: Implemented the SystemSaveData archive.Subv
It will be stored in the /syssavedata folder. This archive is user by various Services and possibly games via the FS:U service.
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-16Service.FS: Rename FileSys::Archive to ArchiveBackendYuri Kunde Schlesner
2014-12-16Service.FS: Do archive registration using IdCode instead of nameYuri Kunde Schlesner
2014-12-13Convert old logging calls to new logging macrosYuri Kunde Schlesner
2014-12-08Merge pull request #264 from Subv/filesbunnei
Kernel/File: Fixed file read/write hwtests
2014-12-08Kernel/File: Fixed file read/write hwtestsSubv
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
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-23Merge pull request #191 from archshift/deletexyzbunnei
Added DeleteFile and DeleteDirectory functions to FS:USER and the archives.
2014-11-23Added DeleteFile and DeleteDirectory functions to FS:USER and the archives.archshift
2014-11-19Remove trailing spaces in every file but the ones imported from SkyEye, AOSP ↵Emmanuel Gil Peyrot
or generated
2014-11-18Merge pull request #209 from lioncash/warnTony Wasserka
directory_sdmc: Fix a signed/unsigned mismatch comparison
2014-11-18directory_sdmc: Fix a signed/unsigned mismatch comparisonLioncash
2014-11-18Remove extraneous semicolonsLioncash
2014-11-17FileSys: Updated backend code to use FileSys::Path instead of string for paths.bunnei
2014-11-17FileSys: Added DebugStr method to Path class.bunnei
2014-11-12Use std::u16string for conversion between UTF-8 and UTF-16, FS:USER functionsarchshift
2014-11-02Added CreateDirectory function to service/fs.cpp, and in Archive.archshift
2014-10-29Fix some warningsSean
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-06Common: Add a helper function to generate a 8.3 filename from a long one.Emmanuel Gil Peyrot
Core: Fix the SDMC Directory implementation to make blargSnes work.
2014-10-06FileSys: Add static asserts for the Directory struct, and fix its fields ↵Emmanuel Gil Peyrot
position.
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/Kernel: Implement SetSize service call for File objects.Emmanuel Gil Peyrot
2014-10-06FileSys: Add forgotten docstrings.Emmanuel Gil Peyrot
2014-09-28Fix warnings in core and commonLioncash
2014-09-17Core: Add a method to obtain a Directory from an Archive.Emmanuel Gil Peyrot
2014-09-17Core: Add a Directory object, with both a stub and a passthrough ↵Emmanuel Gil Peyrot
implementations.
2014-09-17Core: Add a passthrough backend for the filesystem, exposed as SDMC.Emmanuel Gil Peyrot
2014-09-17Core: Add a new File class, obtainable from an Archive, and a stub ↵Emmanuel Gil Peyrot
implementation.
2014-08-22Added FS functions to Archive and Archive_RomFSarchshift
2014-07-04Marked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS virtual functions as ↵bunnei
"override".
2014-07-04Marked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS classes as "final"bunnei