summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/filesystem.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-04-24Service/FS: implement IFileSystem::RenameFilemailwl1-1/+2
2018-04-15fsp_srv: Implement DeleteFile.bunnei1-1/+1
- Used by Binding of Isaac.
2018-03-21FS: Implemented IFileSystem::CreateDirectory.Subv1-1/+1
2018-03-20FS: Implement DiskFileSystem's OpenDirectory interface.Subv1-1/+2
2018-03-20FS: Updated the Directory Entry structure to match the Switch.Subv1-1/+1
2018-03-20FS: Support the file Append open mode.Subv1-0/+1
2018-03-04FS: Make EnsureSaveData create the savedata folder when called for the first time.Subv1-2/+1
2018-03-02Filesystem: Added a SaveData Factory and associated Disk_FileSystem.Subv1-8/+17
2018-01-21file_sys: Clang format fixes.bunnei1-1/+1
2018-01-21file_sys: Cleanup to better match Switch file system constructs.bunnei1-9/+9
file_sys: Add factory class for RomFS file system.
2018-01-21archive_backend: Minor changes to match Switch IFileSystem.bunnei1-22/+22
2016-11-01FileSys: make Archive interfaces return error codewwylele1-14/+14
and make the mode parameter a reference since it is a BitField union
2016-10-02fs: implement DeleteDirectoryRecursivelywwylele1-0/+7
2016-09-21Remove empty newlines in #include blocks.Emmanuel Gil Peyrot1-2/+0
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
2016-09-19Manually tweak source formatting and then re-run clang-formatYuri Kunde Schlesner1-19/+17
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot1-17/+20
2016-03-20HLE/FS: Change the error code returned when an ExtSaveData archive is not found.Subv1-3/+4
This allows Fire Emblem to boot again.
2016-03-20HLE/FS: Corrected some style concerns.Subv1-1/+1
2016-03-20HLE/FS: Implemented GetFormatInfoSubv1-1/+17
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.
2016-03-20HLE/FS: Return the proper error codes when opening files.Subv1-2/+2
2016-03-20HLE/FS: Corrected the error codes for DeleteFileSubv1-2/+2
2016-03-20HLE/FS: FS::CreateFile takes an u64 for the file size.Subv1-1/+1
2016-01-25archive_backend: Remove unnecessary const from return typesLioncash1-4/+4
This doesn't return by reference so const isn't really necessary
2015-10-28Implement FS_User::GetFreeBytesarchshift1-0/+6
2015-05-07FileSys: De-inline Path membersYuri Kunde Schlesner1-125/+9
2015-05-07FileSys: Clean-up includes, de-inline destructorsYuri Kunde Schlesner1-7/+10
2015-02-10FS: Allow multiple instances of the same archive type to be open at onceYuri Kunde Schlesner1-14/+25
2015-01-03Archives: Reduced duplicate code in RomFS and SaveCheck.Subv1-0/+3
Fixed a few warnings and cleaned up the code
2014-12-30Archives: Implemented ExtSaveData and SharedExtSaveDataSubv1-0/+17
They will be stored in /extsavedata/SDMC and /extsavedata/NAND respectively. Also redirect some APT_A functions to their APT_U equivalents. Implemented the gamecoin.dat file in SharedExtSaveData in the PTM module. Implemented formatting the savegame. Retake a previous savegame if it exists instead of reporting them as not formatted every time a game is loaded.
2014-12-24FileSys: Clean up according to the coding style, and remove redundant namespaced names.Emmanuel Gil Peyrot1-78/+74
2014-12-21CFG: Implemented the GetConfigInfoBlk2 function.Subv1-0/+5
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-21Added CreateFile to the FS_USER servicearchshift1-0/+8
Tested with hwtests.
2014-12-21License changepurpasmart961-1/+1
2014-12-20Clean up some warningsChin1-1/+10
2014-12-16FS.Archive: Clean up treatment of archives and their handlesYuri Kunde Schlesner1-30/+0
- 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 Schlesner1-2/+2
2014-12-16Service.FS: Rename FileSys::Directory to DirectoryBackendYuri Kunde Schlesner1-2/+2
2014-12-16Service.FS: Rename FileSys::Archive to ArchiveBackendYuri Kunde Schlesner1-2/+2
2014-12-16Service.FS: Do archive registration using IdCode instead of nameYuri Kunde Schlesner1-15/+2
2014-12-13Convert old logging calls to new logging macrosYuri Kunde Schlesner1-4/+8
2014-11-27Fixed formatting and switch statement warningsvaguilar1-0/+2
2014-11-25Implemented RenameDirectory in FS:USERarchshift1-0/+8
2014-11-25Implemented RenameFile in FS:USERarchshift1-0/+8
2014-11-23Added DeleteFile and DeleteDirectory functions to FS:USER and the archives.archshift1-0/+14
2014-11-19Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generatedEmmanuel Gil Peyrot1-1/+1
2014-11-18FileSys: Updated backend code to use FileSys::Path instead of string for paths.bunnei1-3/+3
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.archshift1-0/+7
2014-09-17Core: Add a method to obtain a Directory from an Archive.Emmanuel Gil Peyrot1-0/+8
2014-09-17Core: Add a new File class, obtainable from an Archive, and a stub implementation.Emmanuel Gil Peyrot1-0/+20
2014-08-23Added FS functions to Archive and Archive_RomFSarchshift1-2/+17
2014-07-05FileSys: Added preliminary support for applications reading the RomFS archive.bunnei1-0/+54
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.