aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/hid_user.cpp
AgeCommit message (Collapse)Author
2015-01-21Added HID_SPVR service and split HID_U implementation into service/hid/hid.xxxarchshift
2015-01-10Logging: Log all called service functions (under trace). Compile out all ↵archshift
trace logs under release for performance.
2015-01-09Move ThreadContext to core/core.h and deal with the falloutYuri Kunde Schlesner
2014-12-25More services & small clean upspurpasmart96
2014-12-20License changepurpasmart96
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-03hid_user: Pass by reference with PadButtonPress/PadButtonReleaseLioncash
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.
2014-11-17core: Mark some hle functions as staticLioncash
These functions are not referred to by their linkage name outside of the translation unit, so they can be marked as static.
2014-10-29Renamed souce files of services to match port namesGareth Poole