aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys
AgeCommit message (Collapse)Author
2015-01-06Merge pull request #376 from Subv/arc_reorderbunnei
Archives: Change the folder layout of some archives.
2015-01-06Archives/Exdata: Don't set concrete_mount_point in the ctorSubv
2015-01-06Archives: Addressed some commentsSubv
2015-01-05SaveDataCheck: Fixed a typoSubv
2015-01-04Archives: Make SYSTEM_ID and SDCARD_ID stringsSubv
2015-01-03Archives: Changed the way paths are built for the archives.Subv
Each archive now takes a mount point of either NAND or SDMC, and builds its own directory structure there, trying to simulate an HLE-friendly hardware layout
2015-01-03SaveDataCheck: Move the files to nand/titleSubv
under /nand/title/high/low/content/00000000.app.romfs
2015-01-03FileSys: Fix crash bug in DiskFile exposed by #400Yuri Kunde Schlesner
2015-01-03FileSys: Fix a few memory leaksYuri Kunde Schlesner
2015-01-02Archives: Change the folder layout of some archives.Subv
This is to better represent the hardware layout, they are still aren't quite accurate, but this better and will help a bit when implementing the other archives like NAND-RO and NAND-RW
2015-01-02IVFCArchive: Use a critical log to notify of invalid operations.Subv
2015-01-02SaveDataCheck: Remove unneeded constructor from a classSubv
2015-01-02Archives: Added some documentation to IVFCArchiveSubv
2015-01-02Archives: Reduced duplicate code in RomFS and SaveCheck.Subv
Fixed a few warnings and cleaned up the code
2015-01-02SaveDataCheck: Preliminary work in this archive.Subv
This allows Steel Diver to boot further, some files are needed. This is still not ready and needs a big cleanup, this will possibly be delayed until the way we handle archives is fixed (with factory classes instead of ahead-of-time creation of archives)
2014-12-29Archives: Implemented ExtSaveData and SharedExtSaveDataSubv
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 ↵Emmanuel Gil Peyrot
namespaced names.
2014-12-21CFG: Create a new subfolder cfg inside service to handle cfgSubv
Moved most of the shared CFG code there, implemented a few CFG:I functions
2014-12-21Style: Addressed some commentsSubv
2014-12-21CFG: Refactored how the config file works.Subv
It is now kept in memory as per 3dbrew, all updates happen on memory, then they can be saved using UpdateConfigNANDSavegame.
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