summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-12-13Convert old logging calls to new logging macrosYuri Kunde Schlesner5-24/+28
2014-12-08Kernel/File: Fixed file read/write hwtestsSubv1-3/+6
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 existarchshift6-3/+35
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-04Updated archive.cpp functions for proper error handlingarchshift2-24/+0
2014-11-27Fixed formatting and switch statement warningsvaguilar2-1/+3
2014-11-25Implemented RenameDirectory in FS:USERarchshift5-0/+45
2014-11-25Implemented RenameFile in FS:USERarchshift5-0/+45
2014-11-23Added DeleteFile and DeleteDirectory functions to FS:USER and the archives.archshift5-0/+80
2014-11-19Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generatedEmmanuel Gil Peyrot2-2/+2
2014-11-18directory_sdmc: Fix a signed/unsigned mismatch comparisonLioncash1-1/+1
2014-11-18Remove extraneous semicolonsLioncash3-3/+3
2014-11-18FileSys: Updated backend code to use FileSys::Path instead of string for paths.bunnei9-24/+24
2014-11-18FileSys: Added DebugStr method to Path class.bunnei1-0/+29
2014-11-13Use std::u16string for conversion between UTF-8 and UTF-16, FS:USER functionsarchshift1-0/+99
2014-11-02Added CreateDirectory function to service/fs.cpp, and in Archive.archshift5-0/+40
2014-10-30Fix some warningsSean2-2/+2
2014-10-23Use config files to store whether SDMC is enabled or notarchshift1-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).
2014-10-06Common: Add a helper function to generate a 8.3 filename from a long one.Emmanuel Gil Peyrot3-29/+27
Core: Fix the SDMC Directory implementation to make blargSnes work.
2014-10-06FileSys: Add static asserts for the Directory struct, and fix its fields position.Emmanuel Gil Peyrot1-2/+8
2014-10-06FileSys: split the constructor into an Open method, in order to notify the opener something went wrong.Emmanuel Gil Peyrot6-14/+54
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 Peyrot5-0/+41
2014-10-06FileSys: Add forgotten docstrings.Emmanuel Gil Peyrot7-4/+35
2014-09-28Fix warnings in core and commonLioncash1-1/+1
2014-09-17Core: Add a method to obtain a Directory from an Archive.Emmanuel Gil Peyrot5-0/+44
2014-09-17Core: Add a Directory object, with both a stub and a passthrough implementations.Emmanuel Gil Peyrot5-0/+259
2014-09-17Core: Add a passthrough backend for the filesystem, exposed as SDMC.Emmanuel Gil Peyrot4-0/+298
2014-09-17Core: Add a new File class, obtainable from an Archive, and a stub implementation.Emmanuel Gil Peyrot6-0/+205
2014-08-23Added FS functions to Archive and Archive_RomFSarchshift3-8/+57
2014-07-05Marked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS virtual functions as "override".bunnei1-4/+4
2014-07-05Marked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS classes as "final"bunnei1-1/+1
2014-07-05Loader: Updated read methods to be constbunnei2-2/+2
- Required "file" handle to be made local and explicitly opened/closed as needed
2014-07-05FileSys: Added preliminary support for applications reading the RomFS archive.bunnei4-138/+150
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.bunnei4-1453/+0
Core: Updated CMakeLists.txt to remove directory_file_system and meta_file_system modules.
2014-04-23fixes to build on linuxbunnei2-22/+22
2014-04-09fixed project includes to use new directory structurebunnei5-20/+15
2014-04-09got rid of 'src' folders in each sub-projectbunnei5-0/+1596