aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/fs
AgeCommit message (Collapse)Author
2016-11-30Fixed the rebase mistakes.Subv
2016-11-30A bit of a redesign.Subv
Sessions and Ports are now detached from each other. HLE services are handled by means of a SessionRequestHandler class, Interface now inherits from this class. The File and Directory classes are no longer kernel objects, but SessionRequestHandlers instead, bound to a ServerSession when requested. File::OpenLinkFile now creates a new session pair and binds the File instance to it.
2016-11-30 Kernel/IPC: Use Ports and Sessions as the fundamental building block of ↵Subv
Inter Process Communication. All handles obtained via srv::GetServiceHandle or svcConnectToPort are references to ClientSessions. Service modules will wait on the counterpart of those ClientSessions (Called ServerSessions) using svcReplyAndReceive or svcWaitSynchronization[1|N], and will be awoken when a SyncRequest is performed. HLE Interfaces are now ClientPorts which override the HandleSyncRequest virtual member function to perform command handling immediately.
2016-11-30Set client SDK version to Service APIsmailwl
2016-11-19FileSys: rename SaveDataCheck archive to NCCH archivewwylele
According to the observation from game and 3dbrew "Used for accessing general NCCH data"
2016-11-19FileSys: add SDMCWriteOnlyArchivewwylele
2016-11-01FileSys: make Archive interfaces return error codewwylele
and make the mode parameter a reference since it is a BitField union
2016-10-02fs: clean up log formatwwylele
2016-10-02fs: implement DeleteDirectoryRecursivelywwylele
2016-09-21Use negative priorities to avoid special-casing the self-includeYuri Kunde Schlesner
2016-09-21Remove empty newlines in #include blocks.Emmanuel Gil Peyrot
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
2016-09-18Manually tweak source formatting and then re-run clang-formatYuri Kunde Schlesner
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot
2016-07-09Merge pull request #1894 from wwylele/set-config-blockYuri Kunde Schlesner
Implement config savegame editing & clean up
2016-07-06Merge pull request #1940 from JamePeng/fix-archive-error-codebunnei
Fix the errorcode of archive handle
2016-07-05Fix the errorcode of archive handleJamePeng
2016-07-03HLE/FS: Document some command parameters and implemented command 0x08560240 ↵Subv
(CreateLegacySystemSaveData)
2016-07-03Service::CFG/FS: add and refactor out utilities for front-endwwylele
2016-05-28Memory: Handle RasterizerCachedMemory and RasterizerCachedSpecial page types ↵Subv
in the memory block manipulation functions.
2016-05-28FS/Archive: Remove use of Memory::GetPointerMerryMage
2016-04-23fs: Fix what appears to be a typo (filename_size / file_size)Sam Spilsbury
2016-04-21HWRasterizer: Texture forwardingtfarley
2016-04-05Common: Remove Common::make_unique, use std::make_uniqueMerryMage
2016-03-20HLE/FS: Change the error code returned when an ExtSaveData archive is not found.Subv
This allows Fire Emblem to boot again.
2016-03-20HLE/FS: Corrected some style concerns.Subv
2016-03-20HLE/FS: Implemented GetFormatInfoSubv
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 ↵Subv
exist.
2016-03-20HLE/FS: Return the proper error codes when opening files.Subv
2016-03-20HLE/FS: Fixed the OpenDirectory error codeSubv
2016-03-20HLE/FS: Return the proper error codes on file Read/Write operations.Subv
These operations are limited by the open flags specified while opening the file.
2016-03-20HLE/FS: Corrected the error codes for DeleteFileSubv
2016-03-20HLE/FS: FS::CreateFile takes an u64 for the file size.Subv
2016-03-12Fix headerpippo2931
2016-03-12GetArchiveResource stubpippo2931
2015-12-30services: Update some function tablesLioncash
2015-10-27Implement FS_User::GetFreeBytesarchshift
2015-09-10General: Fix up doxygen commentsLioncash
2015-07-21Services/Logging: Log more useful information when some operations fail.Subv
Namely OpenFileDirectly, OpenDirectory and OpenArchive
2015-07-13Archive: Correct a few incorrect types in function signaturesYuri Kunde Schlesner
Buffer lengths should be size_t, and file offsets should be u64.
2015-06-28Core: Cleanup file_sys includes.Emmanuel Gil Peyrot
2015-06-01ExtSavedata: Save the icon passed to CreateExtSaveData to the correct folder.Subv
Organize the ExtSaveData folders as they are stored in the console.
2015-05-29Remove every trailing whitespace from the project (but externals).Emmanuel Gil Peyrot
2015-05-15APT/FS: Remove asserts that were causing false positivespurpasmart96
2015-05-07Common: Remove common.hYuri Kunde Schlesner
2015-05-06FileSys: Clean-up includes, de-inline destructorsYuri Kunde Schlesner
2015-04-02Services: Stubs and minor changespurpasmart96
2015-03-19Service/FS: Document and log some unknown values.Subv
In CreateExtSaveData, DeleteExtSaveData and CreateSystemSaveData
2015-03-14Services/FS: Implemented DeleteExtSaveData, CreateSystemSaveData and ↵Subv
DeleteSystemSaveData Also fixed a bug with CreateExtSaveData that made it unable to create ExtSaveData archives in the SDMC directory.
2015-03-03Services: Moved the PTM and APT services to their own folderSubv
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-02-28Services/FS: Stubbed CardSlotIsInserted to always return falseSubv
We won't be emulating this for the foreseeable future and it is needed for Home Menu to boot further