aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle/service/fs/archive.cpp
Commit message (Collapse)AuthorAge
* Archive: Correct a few incorrect types in function signaturesGravatar Yuri Kunde Schlesner2015-07-13
| | | | Buffer lengths should be size_t, and file offsets should be u64.
* Core: Cleanup file_sys includes.Gravatar Emmanuel Gil Peyrot2015-06-28
|
* ExtSavedata: Save the icon passed to CreateExtSaveData to the correct folder.Gravatar Subv2015-06-01
| | | | Organize the ExtSaveData folders as they are stored in the console.
* Remove every trailing whitespace from the project (but externals).Gravatar Emmanuel Gil Peyrot2015-05-29
|
* Common: Remove common.hGravatar Yuri Kunde Schlesner2015-05-07
|
* FileSys: Clean-up includes, de-inline destructorsGravatar Yuri Kunde Schlesner2015-05-06
|
* Services/FS: Implemented DeleteExtSaveData, CreateSystemSaveData and ↵Gravatar Subv2015-03-14
| | | | | | DeleteSystemSaveData Also fixed a bug with CreateExtSaveData that made it unable to create ExtSaveData archives in the SDMC directory.
* Services: Moved the PTM and APT services to their own folderGravatar Subv2015-03-03
| | | | | | This coincidentally fixes an issue about the PTM service failing to create its SharedExtSaveData archive due to the FS service not being initialized by the time the creating code runs. Ideally I'd like to move each process to its own folder, and have a single file per process that registers the service classes, which would be in their own files inside that folder. Then each service class would just call functions from the process to complete the commands.
* Archives: Properly implemented the SystemSaveData archive.Gravatar Subv2015-02-25
| | | | Ported to the new factory pattern we have for archives.
* Build: Fixed some warningsGravatar Subv2015-02-12
|
* Asserts: break/crash program, fit to style guide; log.h->assert.hGravatar archshift2015-02-10
| | | | | | | Involves making asserts use printf instead of the log functions (log functions are asynchronous and, as such, the log won't be printed in time) As such, the log type argument was removed (printf obviously can't use it, and it's made obsolete by the file and line printing) Also removed some GEKKO cruft.
* Archives: Made the Format function more generic.Gravatar Subv2015-02-10
|
* Archives: Expose the File and Directory classes to HLEGravatar Subv2015-02-10
|
* FS: Allow multiple instances of the same archive type to be open at onceGravatar Yuri Kunde Schlesner2015-02-10
|
* FS: Get rid of completely useless Archive classGravatar Yuri Kunde Schlesner2015-02-10
|
* FS: Remove use of GetHandleGravatar Yuri Kunde Schlesner2015-02-02
|
* Filesys: Move creation of Handles for File/Directory to service handlersGravatar Yuri Kunde Schlesner2015-02-02
|
* archive: Fix initializer list order for the File class.Gravatar Lioncash2015-01-30
|
* Remove result.h InvalidHandleGravatar Yuri Kunde Schlesner2015-01-30
| | | | | It was only being used in two places, where it was replaced by a local constant.
* Services: Stubbed more services.Gravatar Subv2015-01-24
| | | | Implemented FSUser::CreateExtSaveData
* Archives: Changed the unimplemented archives comment.Gravatar Subv2015-01-06
| | | | It now refers to me as the PoC
* Archives: Addressed some commentsGravatar Subv2015-01-06
|
* Archives: Make SYSTEM_ID and SDCARD_ID stringsGravatar Subv2015-01-04
|
* Archives: Changed the way paths are built for the archives.Gravatar Subv2015-01-03
| | | | 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
* Archives: Change the folder layout of some archives.Gravatar Subv2015-01-02
| | | | 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
* Archives: Reduced duplicate code in RomFS and SaveCheck.Gravatar Subv2015-01-02
| | | | Fixed a few warnings and cleaned up the code
* SaveDataCheck: Preliminary work in this archive.Gravatar Subv2015-01-02
| | | | | | 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)
* archive: Fix initializer list orderGravatar Lioncash2015-01-02
|
* Archives: Implemented ExtSaveData and SharedExtSaveDataGravatar Subv2014-12-29
| | | | | | | | 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.
* Kernel: New handle managerGravatar Yuri Kunde Schlesner2014-12-28
| | | | | | | | | | | This handle manager more closely mirrors the behaviour of the CTR-OS one. In addition object ref-counts and support for DuplicateHandle have been added. Note that support for DuplicateHandle is still experimental, since parts of the kernel still use Handles internally, which will likely cause troubles if two different handles to the same object are used to e.g. wait on a synchronization primitive.
* Rename ObjectPool to HandleTableGravatar Yuri Kunde Schlesner2014-12-28
|
* CFG: Implemented the GetConfigInfoBlk2 function.Gravatar Subv2014-12-21
| | | | | | Added a "config" file to the CFG process service (CFG:U), and added a few default blocks to it. Implemented GetSystemModel and GetModelNintendo2DS
* Merge pull request #291 from purpasmart96/licenseGravatar bunnei2014-12-21
|\ | | | | License change
* | Added CreateFile to the FS_USER serviceGravatar archshift2014-12-21
| | | | | | | | Tested with hwtests.
| * License changeGravatar purpasmart962014-12-20
| |
* | Common: Add a clone of std::make_uniqueGravatar Yuri Kunde Schlesner2014-12-20
|/
* SystemSaveData: Fixed a typo that was segfaultingGravatar Subv2014-12-18
|
* SaveData: Implemented the SystemSaveData archive.Gravatar Subv2014-12-17
| | | | It will be stored in the /syssavedata folder. This archive is user by various Services and possibly games via the FS:U service.
* Filesystem/Archives: Implemented the SaveData archiveGravatar Subv2014-12-17
| | | | | | | | | | 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
* Work around libstdc++'s lack of support for std::hash on enumsGravatar Yuri Kunde Schlesner2014-12-16
|
* FS.Archive: Clean up treatment of archives and their handlesGravatar Yuri Kunde Schlesner2014-12-16
| | | | | | | - Refactor FS::Archive internals to make Archive creation and lifetime management clearer. - Remove the "Archive as a File" hack. - Implement 64-bit Archive handles.
* Service.FS: Rename FileSys::File to FileBackendGravatar Yuri Kunde Schlesner2014-12-16
|
* Service.FS: Rename FileSys::Directory to DirectoryBackendGravatar Yuri Kunde Schlesner2014-12-16
|
* Service.FS: Rename FileSys::Archive to ArchiveBackendGravatar Yuri Kunde Schlesner2014-12-16
|
* Service.FS: Do archive registration using IdCode instead of nameGravatar Yuri Kunde Schlesner2014-12-16
|
* HLE: Rename namespaces to match move & fix initialization orderGravatar Yuri Kunde Schlesner2014-12-16
|
* HLE: Move kernel/archive.* to service/fs/Gravatar Yuri Kunde Schlesner2014-12-16