aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle/result.h
Commit message (Collapse)AuthorAge
* Common: Cleanup key_map includes.Gravatar Emmanuel Gil Peyrot2015-06-28
|
* Common: Remove common.hGravatar Yuri Kunde Schlesner2015-05-07
|
* result: Make comparison operators take referencesGravatar Lioncash2015-02-27
| | | | It's unnecessary to make copies for simple comparisons like this.
* Convert a few C stdlib asserts to Citra's own assertsGravatar archshift2015-02-18
|
* Asserts: break/crash program, fit to style guide; log.h->assert.hGravatar archshift2015-02-10
| | | | | | | Involves making asserts use printf instead of the log functions (log functions are asynchronous and, as such, the log won't be printed in time) As such, the log type argument was removed (printf obviously can't use it, and it's made obsolete by the file and line printing) Also removed some GEKKO cruft.
* ResultVal: Fixed compilation when reassigning a ResultVal.Gravatar Subv2015-02-10
|
* Remove result.h InvalidHandleGravatar Yuri Kunde Schlesner2015-01-30
| | | | | It was only being used in two places, where it was replaced by a local constant.
* Additions to ResultVal to make it more convenient to use.Gravatar Yuri Kunde Schlesner2015-01-30
|
* Logging: Log all called service functions (under trace). Compile out all ↵Gravatar archshift2015-01-10
| | | | trace logs under release for performance.
* License changeGravatar purpasmart962014-12-20
|
* Filesystem/Archives: Implemented the SaveData archiveGravatar Subv2014-12-17
| | | | | | | | | | 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
* HLE: Revamp error handling throrough the HLE codeGravatar Yuri Kunde Schlesner2014-11-24
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.