aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service
AgeCommit message (Collapse)Author
2014-12-18SaveData: Added some documentation to FormatSaveDataSubv
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-17SaveData: Implemented the SystemSaveData archive.Subv
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-17Filesystem/Archives: Implemented the SaveData archiveSubv
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-16Comment out empty arrays causing compile errors in MSVCYuri Kunde Schlesner
2014-12-15Merge pull request #283 from yuriks/archive-refactorbunnei
Archive refactor
2014-12-16Work around libstdc++'s lack of support for std::hash on enumsYuri Kunde Schlesner
2014-12-16FS.Archive: Clean up treatment of archives and their handlesYuri Kunde Schlesner
- 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 Schlesner
2014-12-16Service.FS: Rename FileSys::Directory to DirectoryBackendYuri Kunde Schlesner
2014-12-16Service.FS: Rename FileSys::Archive to ArchiveBackendYuri Kunde Schlesner
2014-12-16Service.FS: Do archive registration using IdCode instead of nameYuri Kunde Schlesner
2014-12-16HLE: Rename namespaces to match move & fix initialization orderYuri Kunde Schlesner
2014-12-16HLE: Move kernel/archive.* to service/fs/Yuri Kunde Schlesner
2014-12-15Merge pull request #282 from archshift/servicesbunnei
Added stubs for ldr:ro, cecd:u, nim:aoc, and am:app services
2014-12-15Added stub for nim:aoc service...archshift
2014-12-15Added stub for cecd:u service...archshift
I couldn't find any information about this service...
2014-12-15Added stub for ldr:ro service...archshift
2014-12-15Added am:app service stub.archshift
Apparently nothing at all is known about this service...
2014-12-15Remove SyncRequest from K::Object and create a new K::Session typeYuri Kunde Schlesner
This is a first step at fixing the conceptual insanity that is our handling of service and IPC calls. For now, interfaces still directly derived from Session because we don't have the infrastructure to do it properly. (That is, Processes and scheduling them.)
2014-12-13Convert old logging calls to new logging macrosYuri Kunde Schlesner
2014-12-12Merge pull request #267 from bunnei/apt-shared-fontbunnei
APT shared font loading
2014-12-12APT_U: Added GetSharedFont service function.bunnei
2014-12-12DSP: Added stub for ReadPipeIfPossible.bunnei
2014-12-10CFG:U: Store country codes as u16 instead of char pointers, and return the ↵Emmanuel Gil Peyrot
correct error in GetCountryCodeID.
2014-12-09GSP: Trigger GPU interrupts at more accurate locations.bunnei
2014-12-09GSP: Updated TriggerCmdReqQueue to return success code.bunnei
2014-12-09GSP: Updated RegisterInterruptRelayQueue to return expected magic number.bunnei
2014-12-09GPU: Fixed bug in command list size decoding.bunnei
2014-12-08Merge pull request #217 from archshift/cmd_buffbunnei
Log the cmd_buff arguments when citra comes across an unimplemented function
2014-12-04Merge pull request #222 from archshift/renamexyzbunnei
Implemented RenameFile and RenameDirectory in FS:USER
2014-12-03Updated archive.cpp functions for proper error handlingarchshift
2014-12-03Merge pull request #247 from lioncash/constbunnei
hid_user: Pass by reference with PadButtonPress/PadButtonRelease
2014-12-03Merge pull request #238 from archshift/dspbunnei
Add stub for ConvertProcessFromDspDram
2014-12-03Add stub for ConvertProcessFromDspDramarchshift
Should theoretically push retail stuff further along
2014-12-03hid_user: Pass by reference with PadButtonPress/PadButtonReleaseLioncash
2014-12-03PTM_U: Added a stub for GetBatteryLevel & GetBatteryChargeState & ↵purpasmart96
GetAdapterState
2014-12-03Merge pull request #231 from purpasmart96/serv_ac_wifi_statusbunnei
AC_U: Added a stub for GetWifiStatus
2014-12-03Merge pull request #219 from Subv/ptmbunnei
PTM_U: Implemented the GetShellState function.
2014-12-02AC_U: Added a stub for GetWifiStatuspurpasmart96
2014-11-30Merge pull request #224 from bunnei/dsp-service-improvementsbunnei
Dsp service improvements
2014-11-30DSP: Added stubs for several commonly used DSP service functions.bunnei
2014-11-30DSP: Fixed typo in port name.bunnei
2014-11-30PTM_U: Implemented the GetShellState function.Subv
2014-11-29CFG:U: Implemented the GetCountryCodeID and GetCountryCodeString.Subv
2014-11-27Fixed formatting and switch statement warningsvaguilar
2014-11-24Log the cmd_buff arguments when citra comes across an unimplemented functionarchshift
2014-11-24Implemented RenameDirectory in FS:USERarchshift
2014-11-24Implemented RenameFile in FS:USERarchshift
2014-11-24Remove duplicated docs/update them for changed parameters.Yuri Kunde Schlesner
2014-11-24HLE: Revamp error handling throrough the HLE codeYuri Kunde Schlesner
All service calls in the CTR OS return result codes indicating the success or failure of the call. Previous to this commit, Citra's HLE emulation of services and the kernel universally either ignored errors or returned dummy -1 error codes. This commit makes an initial effort to provide an infrastructure for error reporting and propagation which can be use going forward to make HLE calls accurately return errors as the original system. A few parts of the code have been updated to use the new system where applicable. One part of this effort is the definition of the `ResultCode` type, which provides facilities for constructing and parsing error codes in the structured format used by the CTR. The `ResultVal` type builds on `ResultCode` by providing a container for values returned by function that can report errors. It enforces that correct error checking will be done on function returns by preventing the use of the return value if the function returned an error code. Currently this change is mostly internal since errors are still suppressed on the ARM<->HLE border, as a temporary compatibility hack. As functionality is implemented and tested this hack can be eventually removed.