summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/fs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fs: Fix what appears to be a typo (filename_size / file_size)Sam Spilsbury2016-04-231-1/+1
|
* HWRasterizer: Texture forwardingtfarley2016-04-211-0/+1
|
* Common: Remove Common::make_unique, use std::make_uniqueMerryMage2016-04-051-7/+6
|
* HLE/FS: Change the error code returned when an ExtSaveData archive is not found.Subv2016-03-201-4/+8
| | | | This allows Fire Emblem to boot again.
* HLE/FS: Corrected some style concerns.Subv2016-03-203-6/+3
|
* HLE/FS: Implemented GetFormatInfoSubv2016-03-203-46/+124
| | | | 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.
* HLE/FS: Don't return an error when deleting the ExtSaveData if it does not exist.Subv2016-03-201-1/+1
|
* HLE/FS: Return the proper error codes when opening files.Subv2016-03-201-3/+4
|
* HLE/FS: Fixed the OpenDirectory error codeSubv2016-03-201-1/+1
|
* HLE/FS: Return the proper error codes on file Read/Write operations.Subv2016-03-201-2/+15
| | | | These operations are limited by the open flags specified while opening the file.
* HLE/FS: Corrected the error codes for DeleteFileSubv2016-03-201-4/+1
|
* HLE/FS: FS::CreateFile takes an u64 for the file size.Subv2016-03-203-5/+5
|
* Fix headerpippo29312016-03-121-1/+1
|
* GetArchiveResource stubpippo29312016-03-121-1/+25
|
* services: Update some function tablesLioncash2015-12-301-89/+107
|
* Implement FS_User::GetFreeBytesarchshift2015-10-283-1/+42
|
* General: Fix up doxygen commentsLioncash2015-09-101-1/+1
|
* Services/Logging: Log more useful information when some operations fail.Subv2015-07-211-4/+8
| | | | Namely OpenFileDirectly, OpenDirectory and OpenArchive
* Archive: Correct a few incorrect types in function signaturesYuri Kunde Schlesner2015-07-141-1/+1
| | | | Buffer lengths should be size_t, and file offsets should be u64.
* Core: Cleanup file_sys includes.Emmanuel Gil Peyrot2015-06-282-7/+16
|
* ExtSavedata: Save the icon passed to CreateExtSaveData to the correct folder.Subv2015-06-023-11/+32
| | | | Organize the ExtSaveData folders as they are stored in the console.
* Remove every trailing whitespace from the project (but externals).Emmanuel Gil Peyrot2015-05-292-6/+6
|
* APT/FS: Remove asserts that were causing false positivespurpasmart962015-05-161-3/+5
|
* Common: Remove common.hYuri Kunde Schlesner2015-05-072-1/+5
|
* FileSys: Clean-up includes, de-inline destructorsYuri Kunde Schlesner2015-05-072-10/+16
|
* Services: Stubs and minor changespurpasmart962015-04-031-8/+72
|
* Service/FS: Document and log some unknown values.Subv2015-03-191-1/+26
| | | | In CreateExtSaveData, DeleteExtSaveData and CreateSystemSaveData
* Services/FS: Implemented DeleteExtSaveData, CreateSystemSaveData and DeleteSystemSaveDataSubv2015-03-143-24/+164
| | | | 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 folderSubv2015-03-043-7/+8
| | | | | | 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.
* Services/FS: Stubbed CardSlotIsInserted to always return falseSubv2015-03-011-1/+25
| | | | We won't be emulating this for the foreseeable future and it is needed for Home Menu to boot further
* Archives: Properly implemented the SystemSaveData archive.Subv2015-02-261-0/+4
| | | | Ported to the new factory pattern we have for archives.
* Build: Fixed some warningsSubv2015-02-121-4/+4
|
* Asserts: break/crash program, fit to style guide; log.h->assert.harchshift2015-02-111-1/+1
| | | | | | | 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.Subv2015-02-103-9/+10
|
* Archives: Expose the File and Directory classes to HLESubv2015-02-103-58/+62
|
* FS: Allow multiple instances of the same archive type to be open at onceYuri Kunde Schlesner2015-02-102-27/+28
|
* FS: Get rid of completely useless Archive classYuri Kunde Schlesner2015-02-101-36/+26
|
* FS: Remove use of GetHandleYuri Kunde Schlesner2015-02-021-1/+1
|
* Service: Clean-up InterfaceYuri Kunde Schlesner2015-02-021-1/+1
|
* Filesys: Move creation of Handles for File/Directory to service handlersYuri Kunde Schlesner2015-02-023-32/+33
|
* archive: Fix initializer list order for the File class.Lioncash2015-01-301-1/+1
|
* Remove result.h InvalidHandleYuri Kunde Schlesner2015-01-301-9/+14
| | | | | It was only being used in two places, where it was replaced by a local constant.
* Services: Stubbed more services.Subv2015-01-243-0/+41
| | | | Implemented FSUser::CreateExtSaveData
* core: Fix a few docstringsLioncash2015-01-201-1/+1
|
* Added Archive ID to fs:USER debug logs involving opening the archive.archshift2015-01-101-3/+3
|
* Logging: Log all called service functions (under trace). Compile out all trace logs under release for performance.archshift2015-01-101-4/+0
|
* Archives: Changed the unimplemented archives comment.Subv2015-01-061-1/+1
| | | | It now refers to me as the PoC
* Archives: Addressed some commentsSubv2015-01-061-2/+2
|
* Archives: Make SYSTEM_ID and SDCARD_ID stringsSubv2015-01-042-4/+4
|
* Archives: Changed the way paths are built for the archives.Subv2015-01-042-10/+15
| | | | 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.Subv2015-01-031-1/+1
| | | | 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.Subv2015-01-032-4/+5
| | | | Fixed a few warnings and cleaned up the code
* SaveDataCheck: Preliminary work in this archive.Subv2015-01-032-3/+35
| | | | | | 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 orderLioncash2015-01-031-3/+3
|
* Archives: Implemented ExtSaveData and SharedExtSaveDataSubv2014-12-303-43/+36
| | | | | | | | 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 managerYuri Kunde Schlesner2014-12-281-4/+6
| | | | | | | | | | | 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 HandleTableYuri Kunde Schlesner2014-12-281-4/+4
|
* Merge pull request #330 from purpasmart96/new_srvbunnei2014-12-262-10/+0
|\ | | | | More services & small clean ups
| * More services & small clean upspurpasmart962014-12-262-10/+0
| |
* | Stubbed IsSdmcWriteable to always return writeable.archshift2014-12-241-1/+18
|/
* CFG: Implemented the GetConfigInfoBlk2 function.Subv2014-12-211-9/+0
| | | | | | 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/licensebunnei2014-12-214-4/+4
|\ | | | | License change
| * License changepurpasmart962014-12-214-4/+4
| |
* | Added CreateFile to the FS_USER servicearchshift2014-12-213-1/+47
| | | | | | | | Tested with hwtests.
* | Common: Add a clone of std::make_uniqueYuri Kunde Schlesner2014-12-201-6/+7
| |
* | Merge pull request #306 from Subv/even_more_savedatabunnei2014-12-201-2/+31
|\ \ | |/ |/| SaveData: Added some documentation to FormatSaveData
| * FS_U: Added the command to the docs of SaveData functionsSubv2014-12-201-0/+2
| |
| * SaveData: Added some documentation to FormatSaveDataSubv2014-12-181-2/+29
| | | | | | | | | | We still don't know what the other parameters do, but they appear to be very similar to those of FormatThisUserSaveData. Most likely FormatThisUserSaveData is just an alias for FormatSaveData with LowPathType Empty
* | SystemSaveData: Fixed a typo that was segfaultingSubv2014-12-191-1/+1
| |
* | SaveData: Implemented the SystemSaveData archive.Subv2014-12-181-0/+9
|/ | | | 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 archiveSubv2014-12-183-13/+86
| | | | | | | | | | 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 enumsYuri Kunde Schlesner2014-12-161-0/+15
|
* FS.Archive: Clean up treatment of archives and their handlesYuri Kunde Schlesner2014-12-163-196/+175
| | | | | | | - 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 FileBackendYuri Kunde Schlesner2014-12-161-1/+1
|
* Service.FS: Rename FileSys::Directory to DirectoryBackendYuri Kunde Schlesner2014-12-161-2/+2
|
* Service.FS: Rename FileSys::Archive to ArchiveBackendYuri Kunde Schlesner2014-12-162-5/+5
|
* Service.FS: Do archive registration using IdCode instead of nameYuri Kunde Schlesner2014-12-163-16/+27
|
* HLE: Rename namespaces to match move & fix initialization orderYuri Kunde Schlesner2014-12-164-30/+32
|
* HLE: Move kernel/archive.* to service/fs/Yuri Kunde Schlesner2014-12-164-0/+1038