Commit Graph

27 Commits (c0d1a91017d528c600d14897e2b4a38c6b14dcd5)

Author SHA1 Message Date
Yuri Kunde Schlesner 3f1a3952d7 FS: Allow multiple instances of the same archive type to be open at once 10 years ago
Subv aade417b14 Archives: Reduced duplicate code in RomFS and SaveCheck.
Fixed a few warnings and cleaned up the code
10 years ago
Subv 13efbdc201 SaveDataCheck: Preliminary work in this archive.
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)
10 years ago
Subv 2c89d4d5cd Archives: Implemented ExtSaveData and SharedExtSaveData
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.
10 years ago
Emmanuel Gil Peyrot bbe0bf1332 FileSys: Clean up according to the coding style, and remove redundant namespaced names. 11 years ago
bunnei 0de6a08d75 Merge pull request #291 from purpasmart96/license
License change
11 years ago
archshift 0625dd09ea Added CreateFile to the FS_USER service
Tested with hwtests.
11 years ago
purpasmart96 ebfd831ccb License change 11 years ago
Yuri Kunde Schlesner 82528ba7df Common: Add a clone of std::make_unique 11 years ago
Yuri Kunde Schlesner 83e6e4ffec FS.Archive: Clean up treatment of archives and their handles
- Refactor FS::Archive internals to make Archive creation and lifetime
  management clearer.
- Remove the "Archive as a File" hack.
- Implement 64-bit Archive handles.
11 years ago
Yuri Kunde Schlesner 0931a42af0 Service.FS: Rename FileSys::File to FileBackend 11 years ago
Yuri Kunde Schlesner d51afab0bc Service.FS: Rename FileSys::Directory to DirectoryBackend 11 years ago
Yuri Kunde Schlesner 0600e2d8b5 Convert old logging calls to new logging macros 11 years ago
archshift 139a4d91d9 Updated archive.cpp functions for proper error handling 11 years ago
archshift e5ff01c2cd Implemented RenameDirectory in FS:USER 11 years ago
archshift 45afc15aa6 Implemented RenameFile in FS:USER 11 years ago
bunnei ef1b16a7eb Merge pull request #191 from archshift/deletexyz
Added DeleteFile and DeleteDirectory functions to FS:USER and the archives.
11 years ago
archshift 8aeadbd95a Added DeleteFile and DeleteDirectory functions to FS:USER and the archives. 11 years ago
Lioncash 1a8f466217 Remove extraneous semicolons 11 years ago
bunnei a3107a6b57 FileSys: Updated backend code to use FileSys::Path instead of string for paths. 11 years ago
archshift 04c90c395d Added CreateDirectory function to service/fs.cpp, and in Archive. 11 years ago
Sean 9a012ff007 Fix some warnings 11 years ago
Emmanuel Gil Peyrot c14e5713f5 Core: Add a method to obtain a Directory from an Archive. 11 years ago
Emmanuel Gil Peyrot 9251f7e2f8 Core: Add a new File class, obtainable from an Archive, and a stub implementation. 11 years ago
archshift 4c4a01bf41 Added FS functions to Archive and Archive_RomFS 11 years ago
bunnei 2c62d92551 Loader: Updated read methods to be const
- Required "file" handle to be made local and explicitly opened/closed as needed
11 years ago
bunnei 17a6148f9d FileSys: Added preliminary support for applications reading the RomFS archive.
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.
11 years ago