summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/fs (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-04-23fs: Fix what appears to be a typo (filename_size / file_size)Sam Spilsbury1-1/+1
2016-04-21HWRasterizer: Texture forwardingtfarley1-0/+1
2016-04-05Common: Remove Common::make_unique, use std::make_uniqueMerryMage1-7/+6
2016-03-20HLE/FS: Change the error code returned when an ExtSaveData archive is not found.Subv1-4/+8
This allows Fire Emblem to boot again.
2016-03-20HLE/FS: Corrected some style concerns.Subv3-6/+3
2016-03-20HLE/FS: Implemented GetFormatInfoSubv3-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.
2016-03-20HLE/FS: Don't return an error when deleting the ExtSaveData if it does not exist.Subv1-1/+1
2016-03-20HLE/FS: Return the proper error codes when opening files.Subv1-3/+4
2016-03-20HLE/FS: Fixed the OpenDirectory error codeSubv1-1/+1
2016-03-20HLE/FS: Return the proper error codes on file Read/Write operations.Subv1-2/+15
These operations are limited by the open flags specified while opening the file.
2016-03-20HLE/FS: Corrected the error codes for DeleteFileSubv1-4/+1
2016-03-20HLE/FS: FS::CreateFile takes an u64 for the file size.Subv3-5/+5
2016-03-12Fix headerpippo29311-1/+1
2016-03-12GetArchiveResource stubpippo29311-1/+25
2015-12-30services: Update some function tablesLioncash1-89/+107
2015-10-28Implement FS_User::GetFreeBytesarchshift3-1/+42
2015-09-10General: Fix up doxygen commentsLioncash1-1/+1
2015-07-21Services/Logging: Log more useful information when some operations fail.Subv1-4/+8
Namely OpenFileDirectly, OpenDirectory and OpenArchive
2015-07-14Archive: Correct a few incorrect types in function signaturesYuri Kunde Schlesner1-1/+1
Buffer lengths should be size_t, and file offsets should be u64.
2015-06-28Core: Cleanup file_sys includes.Emmanuel Gil Peyrot2-7/+16
2015-06-02ExtSavedata: Save the icon passed to CreateExtSaveData to the correct folder.Subv3-11/+32
Organize the ExtSaveData folders as they are stored in the console.
2015-05-29Remove every trailing whitespace from the project (but externals).Emmanuel Gil Peyrot2-6/+6
2015-05-16APT/FS: Remove asserts that were causing false positivespurpasmart961-3/+5
2015-05-07Common: Remove common.hYuri Kunde Schlesner2-1/+5
2015-05-07FileSys: Clean-up includes, de-inline destructorsYuri Kunde Schlesner2-10/+16
2015-04-03Services: Stubs and minor changespurpasmart961-8/+72
2015-03-19Service/FS: Document and log some unknown values.Subv1-1/+26
In CreateExtSaveData, DeleteExtSaveData and CreateSystemSaveData
2015-03-14Services/FS: Implemented DeleteExtSaveData, CreateSystemSaveData and DeleteSystemSaveDataSubv3-24/+164
Also fixed a bug with CreateExtSaveData that made it unable to create ExtSaveData archives in the SDMC directory.
2015-03-04Services: Moved the PTM and APT services to their own folderSubv3-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.
2015-03-01Services/FS: Stubbed CardSlotIsInserted to always return falseSubv1-1/+25
We won't be emulating this for the foreseeable future and it is needed for Home Menu to boot further
2015-02-26Archives: Properly implemented the SystemSaveData archive.Subv1-0/+4
Ported to the new factory pattern we have for archives.
2015-02-12Build: Fixed some warningsSubv1-4/+4
2015-02-11Asserts: break/crash program, fit to style guide; log.h->assert.harchshift1-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.
2015-02-10Archives: Made the Format function more generic.Subv3-9/+10
2015-02-10Archives: Expose the File and Directory classes to HLESubv3-58/+62
2015-02-10FS: Allow multiple instances of the same archive type to be open at onceYuri Kunde Schlesner2-27/+28
2015-02-10FS: Get rid of completely useless Archive classYuri Kunde Schlesner1-36/+26
2015-02-02FS: Remove use of GetHandleYuri Kunde Schlesner1-1/+1
2015-02-02Service: Clean-up InterfaceYuri Kunde Schlesner1-1/+1
2015-02-02Filesys: Move creation of Handles for File/Directory to service handlersYuri Kunde Schlesner3-32/+33
2015-01-30archive: Fix initializer list order for the File class.Lioncash1-1/+1
2015-01-30Remove result.h InvalidHandleYuri Kunde Schlesner1-9/+14
It was only being used in two places, where it was replaced by a local constant.
2015-01-24Services: Stubbed more services.Subv3-0/+41
Implemented FSUser::CreateExtSaveData
2015-01-20core: Fix a few docstringsLioncash1-1/+1
2015-01-10Added Archive ID to fs:USER debug logs involving opening the archive.archshift1-3/+3
2015-01-10Logging: Log all called service functions (under trace). Compile out all trace logs under release for performance.archshift1-4/+0
2015-01-06Archives: Changed the unimplemented archives comment.Subv1-1/+1
It now refers to me as the PoC
2015-01-06Archives: Addressed some commentsSubv1-2/+2
2015-01-04Archives: Make SYSTEM_ID and SDCARD_ID stringsSubv2-4/+4
2015-01-04Archives: Changed the way paths are built for the archives.Subv2-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
2015-01-03Archives: Change the folder layout of some archives.Subv1-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
2015-01-03Archives: Reduced duplicate code in RomFS and SaveCheck.Subv2-4/+5
Fixed a few warnings and cleaned up the code
2015-01-03SaveDataCheck: Preliminary work in this archive.Subv2-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)
2015-01-03archive: Fix initializer list orderLioncash1-3/+3
2014-12-30Archives: Implemented ExtSaveData and SharedExtSaveDataSubv3-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.
2014-12-28Kernel: New handle managerYuri Kunde Schlesner1-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.
2014-12-28Rename ObjectPool to HandleTableYuri Kunde Schlesner1-4/+4
2014-12-26More services & small clean upspurpasmart962-10/+0
2014-12-24Stubbed IsSdmcWriteable to always return writeable.archshift1-1/+18
2014-12-21CFG: Implemented the GetConfigInfoBlk2 function.Subv1-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
2014-12-21Added CreateFile to the FS_USER servicearchshift3-1/+47
Tested with hwtests.
2014-12-21License changepurpasmart964-4/+4
2014-12-20Common: Add a clone of std::make_uniqueYuri Kunde Schlesner1-6/+7
2014-12-20FS_U: Added the command to the docs of SaveData functionsSubv1-0/+2
2014-12-19SystemSaveData: Fixed a typo that was segfaultingSubv1-1/+1
2014-12-18SaveData: Added some documentation to FormatSaveDataSubv1-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
2014-12-18SaveData: Implemented the SystemSaveData archive.Subv1-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.
2014-12-18Filesystem/Archives: Implemented the SaveData archiveSubv3-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
2014-12-16Work around libstdc++'s lack of support for std::hash on enumsYuri Kunde Schlesner1-0/+15
2014-12-16FS.Archive: Clean up treatment of archives and their handlesYuri Kunde Schlesner3-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.
2014-12-16Service.FS: Rename FileSys::File to FileBackendYuri Kunde Schlesner1-1/+1
2014-12-16Service.FS: Rename FileSys::Directory to DirectoryBackendYuri Kunde Schlesner1-2/+2
2014-12-16Service.FS: Rename FileSys::Archive to ArchiveBackendYuri Kunde Schlesner2-5/+5
2014-12-16Service.FS: Do archive registration using IdCode instead of nameYuri Kunde Schlesner3-16/+27
2014-12-16HLE: Rename namespaces to match move & fix initialization orderYuri Kunde Schlesner4-30/+32
2014-12-16HLE: Move kernel/archive.* to service/fs/Yuri Kunde Schlesner4-0/+1038