Commit Graph

20 Commits (27e6e6b3cb2ee1ab3a996c2b4be1d9a3c4e6b75d)

Author SHA1 Message Date
Subv 1bbf0567b1 Archives: Made the Format function more generic. 10 years ago
Subv 071663e074 Archives: Expose the File and Directory classes to HLE 10 years ago
Yuri Kunde Schlesner 3f1a3952d7 FS: Allow multiple instances of the same archive type to be open at once 10 years ago
Yuri Kunde Schlesner 5e91fc0d1a Filesys: Move creation of Handles for File/Directory to service handlers 10 years ago
Subv c2e9990149 Services: Stubbed more services.
Implemented FSUser::CreateExtSaveData
10 years ago
Lioncash a3f5e5605c core: Fix a few docstrings 10 years ago
Subv 90dffe3fc1 Archives: Make SYSTEM_ID and SDCARD_ID strings 10 years ago
Subv 71a063f45c Archives: Changed the way paths are built for the archives.
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
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
bunnei 0de6a08d75 Merge pull request #291 from purpasmart96/license
License change
10 years ago
archshift 0625dd09ea Added CreateFile to the FS_USER service
Tested with hwtests.
10 years ago
purpasmart96 ebfd831ccb License change 10 years ago
Subv ea9ce0fba7 Filesystem/Archives: Implemented the SaveData archive
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
10 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.
10 years ago
Yuri Kunde Schlesner 82fe821e87 Service.FS: Rename FileSys::Archive to ArchiveBackend 10 years ago
Yuri Kunde Schlesner f6153679b0 Service.FS: Do archive registration using IdCode instead of name 10 years ago
Yuri Kunde Schlesner ca67bb7945 HLE: Rename namespaces to match move & fix initialization order 10 years ago
Yuri Kunde Schlesner c72ccfa6db HLE: Move kernel/archive.* to service/fs/ 10 years ago