summaryrefslogtreecommitdiff
path: root/src/core/hle/service/fs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove lots more 3DS-specific code.Gravatar bunnei2017-10-124-1949/+0
|
* Fixed type conversion ambiguityGravatar Huw Pascoe2017-09-301-1/+1
|
* HLE/Archives: Allow multiple loaded applications to access their SelfNCCH ↵Gravatar Subv2017-09-252-1/+24
| | | | | | | | | | archive independently. The loaders now register each loaded ROM with the SelfNCCH factory, which keeps the data around for the duration of the emulation session. When opening the SelfNCCH archive, the factory queries the current program's programid and uses that as a key to the map that contains the NCCHData structure (RomFS, Icon, Banner, etc). 3dsx files do not have a programid and will use a default of 0 for this value, thus, only 1 3dsx file with RomFS is loadable at the same time.
* ResultVal: Remove MoveFrom()Gravatar Yuri Kunde Schlesner2017-06-182-5/+5
| | | | | Replace it with std::move(result_val).Unwrap(), or Foo().Unwrap() in case you already have an rvalue.
* Service: Remove unnecessary includes from service.hGravatar Yuri Kunde Schlesner2017-06-062-0/+6
| | | | | This has a huge fallout in terms of needing to fix other files because all service implementations included that file.
* Kernel: Add a dedicated SetHleHandler method to ServerPort/ServerSessionGravatar Yuri Kunde Schlesner2017-06-063-21/+25
| | | | | | 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.
* HLE: Move SessionRequestHandler from Service:: to Kernel::Gravatar Yuri Kunde Schlesner2017-06-053-3/+5
| | | | | 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.
* Addressed Bunnei's review comments, and made some other tweaks:Gravatar TheKoopaKingdom2017-06-021-1/+2
| | | | | - Deleted GetStatus() because it wasn't used anywhere outside of Core::System. - Fixed design flaw where the message bar status could be set despite the game being stopped.
* Switched to the ERROR_NOT_FOUND constant from errors.h.Gravatar TheKoopaKingdom2017-06-021-2/+1
|
* Moved whitelist checks from FS_User to the Archive_NCCH handler.Gravatar TheKoopaKingdom2017-06-021-52/+2
|
* Created a whitelist of system archives to prevent false positives creating ↵Gravatar TheKoopaKingdom2017-06-021-4/+51
| | | | dialogs.
* Made some changes from review comments:Gravatar TheKoopaKingdom2017-06-022-9/+6
| | | | | | | | - 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.
* Added system for handling core errors in citra-qt.Gravatar TheKoopaKingdom2017-06-021-0/+5
|
* FS: Remove unused result definitionGravatar Yuri Kunde Schlesner2017-05-241-5/+0
|
* Kernel: Centralize error definitions in errors.hGravatar Yuri Kunde Schlesner2017-05-241-3/+1
|
* FileSys: Move all result description to errors.hGravatar Yuri Kunde Schlesner2017-05-242-19/+14
|
* loader: use self NCCH archiveGravatar wwylele2017-02-131-1/+1
|
* IPC helpers exampleGravatar Lectem2016-12-261-12/+15
|
* Address clang-format issues.Gravatar bunnei2016-12-211-2/+2
|
* core: Remove HLE module, consolidate code & various cleanups.Gravatar bunnei2016-12-212-6/+3
|
* FS: fix debug build from #2249Gravatar wwylele2016-12-161-11/+9
|
* Merge pull request #2249 from Subv/sessions_v3Gravatar Yuri Kunde Schlesner2016-12-143-40/+65
|\ | | | | Kernel/IPC: Use Ports and Sessions as the fundamental building block of Inter Process Communication.
| * Fixed the codestyle to match our clang-format rules.Gravatar Subv2016-12-143-13/+24
| |
| * Moved the HLE command buffer translation task to ServerSession instead of ↵Gravatar Subv2016-12-092-4/+4
| | | | | | | | the HLE handler superclass.
| * Added a framework for partially handling Session disconnections.Gravatar Subv2016-12-082-0/+4
| | | | | | | | | | | | Further implementation will happen in a future commit. Fixes a regression.
| * Use std::move where appropriate.Gravatar Subv2016-12-081-2/+2
| |
| * Split SessionRequestHandler::HandleSyncRequest into HandleSyncRequest, ↵Gravatar Subv2016-12-052-12/+12
| | | | | | | | | | | | TranslateRequest and HandleSyncRequestImpl. HandleSyncRequest now takes care of calling the command buffer translate function before actually invoking the command handler for HLE services.
| * Fixed the rebase mistakes.Gravatar Subv2016-11-301-4/+4
| |
| * A bit of a redesign.Gravatar Subv2016-11-303-33/+40
| | | | | | | | | | | | | | 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.
| * Kernel/IPC: Use Ports and Sessions as the fundamental building block of ↵Gravatar Subv2016-11-303-15/+18
| | | | | | | | | | | | | | | | | | 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.
* | fs_user: Update function tableGravatar Lioncash2016-12-081-0/+2
| | | | | | | | Updated based off information from 3dbrew.
* | Merge pull request #2232 from wwylele/other-saveGravatar bunnei2016-12-072-2/+14
|\ \ | |/ |/| FS: implement archives for other game save data
| * FileSys: Implement OtherSaveDataGravatar wwylele2016-11-292-0/+11
| |
| * FS: add missing MediaTypeGravatar wwylele2016-11-291-1/+1
| |
| * FileSys: abstract SD save data archive sourceGravatar wwylele2016-11-291-1/+2
| |
* | Set client SDK version to Service APIsGravatar mailwl2016-11-301-10/+14
|/
* FileSys: rename SaveDataCheck archive to NCCH archiveGravatar wwylele2016-11-192-6/+5
| | | | According to the observation from game and 3dbrew "Used for accessing general NCCH data"
* FileSys: add SDMCWriteOnlyArchiveGravatar wwylele2016-11-191-0/+8
|
* FileSys: make Archive interfaces return error codeGravatar wwylele2016-11-011-32/+9
| | | | and make the mode parameter a reference since it is a BitField union
* fs: clean up log formatGravatar wwylele2016-10-021-22/+24
|
* fs: implement DeleteDirectoryRecursivelyGravatar wwylele2016-10-023-1/+51
|
* Use negative priorities to avoid special-casing the self-includeGravatar Yuri Kunde Schlesner2016-09-212-2/+2
|
* Remove empty newlines in #include blocks.Gravatar Emmanuel Gil Peyrot2016-09-213-8/+2
| | | | | | | This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
* Manually tweak source formatting and then re-run clang-formatGravatar Yuri Kunde Schlesner2016-09-182-9/+6
|
* Sources: Run clang-format on everything.Gravatar Emmanuel Gil Peyrot2016-09-183-393/+447
|
* Merge pull request #1894 from wwylele/set-config-blockGravatar Yuri Kunde Schlesner2016-07-092-8/+22
|\ | | | | Implement config savegame editing & clean up
| * Service::CFG/FS: add and refactor out utilities for front-endGravatar wwylele2016-07-032-8/+22
| |
* | Merge pull request #1940 from JamePeng/fix-archive-error-codeGravatar bunnei2016-07-061-10/+14
|\ \ | | | | | | Fix the errorcode of archive handle
| * | Fix the errorcode of archive handleGravatar JamePeng2016-07-051-10/+14
| |/
* / HLE/FS: Document some command parameters and implemented command 0x08560240 ↵Gravatar Subv2016-07-031-11/+42
|/ | | | (CreateLegacySystemSaveData)