aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys
AgeCommit message (Collapse)Author
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
2014-07-04Loader: Updated read methods to be constbunnei
- Required "file" handle to be made local and explicitly opened/closed as needed
2014-07-04FileSys: Added preliminary support for applications reading the RomFS archive.bunnei
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.
2014-06-27Core: Removed unused directory_file_system and meta_file_system modules.bunnei
Core: Updated CMakeLists.txt to remove directory_file_system and meta_file_system modules.
2014-04-22fixes to build on linuxbunnei
2014-04-08fixed project includes to use new directory structurebunnei
2014-04-08got rid of 'src' folders in each sub-projectbunnei