aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/fs/fs_user.cpp
AgeCommit message (Collapse)Author
2017-10-12Remove lots more 3DS-specific code.bunnei
2017-06-18ResultVal: Remove MoveFrom()Yuri Kunde Schlesner
Replace it with std::move(result_val).Unwrap(), or Foo().Unwrap() in case you already have an rvalue.
2017-06-06Service: Remove unnecessary includes from service.hYuri Kunde Schlesner
This has a huge fallout in terms of needing to fix other files because all service implementations included that file.
2017-06-06Kernel: Add a dedicated SetHleHandler method to ServerPort/ServerSessionYuri Kunde Schlesner
This allows attaching a HLE handle to a ServerPort at any point after it is created, allowing port/session creation to be generic between HLE and regular services.
2017-06-05HLE: Move SessionRequestHandler from Service:: to Kernel::Yuri Kunde Schlesner
Most of the code that works with this is or will be in the kernel, so it's a more appropriate place for it to be.
2017-06-02Moved whitelist checks from FS_User to the Archive_NCCH handler.TheKoopaKingdom
2017-06-02Created a whitelist of system archives to prevent false positives creating ↵TheKoopaKingdom
dialogs.
2017-06-02Made some changes from review comments:TheKoopaKingdom
- Made LoadKernelSystemMode return a pair consisting of a system mode and a result code (Could use review). - Deleted ErrorOpenGL error code in favor of just having ErrorVideoCore. - Made dialog messages more clear. - Compared archive ID in fs_user.cpp to ArchiveIdCode::NCCH as opposed to hex magic. - Cleaned up some other stuff.
2017-06-02Added system for handling core errors in citra-qt.TheKoopaKingdom
2017-05-24Kernel: Centralize error definitions in errors.hYuri Kunde Schlesner
2017-05-24FileSys: Move all result description to errors.hYuri Kunde Schlesner
2016-12-26IPC helpers exampleLectem
2016-12-14Merge pull request #2249 from Subv/sessions_v3Yuri Kunde Schlesner
Kernel/IPC: Use Ports and Sessions as the fundamental building block of Inter Process Communication.
2016-12-14Fixed the codestyle to match our clang-format rules.Subv
2016-12-08Added a framework for partially handling Session disconnections.Subv
Further implementation will happen in a future commit. Fixes a regression.
2016-12-08fs_user: Update function tableLioncash
Updated based off information from 3dbrew.
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-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-03HLE/FS: Document some command parameters and implemented command 0x08560240 ↵Subv
(CreateLegacySystemSaveData)
2016-04-23fs: Fix what appears to be a typo (filename_size / file_size)Sam Spilsbury
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: 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-07-21Services/Logging: Log more useful information when some operations fail.Subv
Namely OpenFileDirectly, OpenDirectory and OpenArchive
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-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
2015-02-10Archives: Made the Format function more generic.Subv
2015-02-10Archives: Expose the File and Directory classes to HLESubv
2015-02-02Service: Clean-up InterfaceYuri Kunde Schlesner
2015-02-02Filesys: Move creation of Handles for File/Directory to service handlersYuri Kunde Schlesner
2015-01-24Services: Stubbed more services.Subv
Implemented FSUser::CreateExtSaveData
2015-01-10Added Archive ID to fs:USER debug logs involving opening the archive.archshift