summaryrefslogtreecommitdiffstats
path: root/src/core/hle/result.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove empty newlines in #include blocks.Emmanuel Gil Peyrot2016-09-211-1/+0
| | | | | | | 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-formatYuri Kunde Schlesner2016-09-191-2/+1
|
* Sources: Run clang-format on everything.Emmanuel Gil Peyrot2016-09-181-40/+60
|
* Fix the errorcode of archive handleJamePeng2016-07-041-0/+1
|
* Result: fix and update ErrorModulewwylele2016-06-301-6/+19
|
* gsp::gpu: Reset g_thread_id in UnregisterInterruptRelayQueuemailwl2016-06-011-0/+1
|
* Kernel: Implemented shared memory permissions.Subv2016-05-131-0/+1
|
* VideoCore: Run include-what-you-use and fix most includes.Emmanuel Gil Peyrot2016-04-301-1/+0
|
* DSP_DSP: Add return IPC headersMerryMage2016-04-271-0/+1
|
* GSP: Return proper error codes for register writespurpasmart962016-03-311-0/+1
|
* HLE/FS: Implemented GetFormatInfoSubv2016-03-201-0/+1
| | | | 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.
* HLE/FS: Return the proper error codes on file Read/Write operations.Subv2016-03-201-0/+1
| | | | These operations are limited by the open flags specified while opening the file.
* HLE/FS: Corrected the error codes for CreateFileSubv2016-03-201-1/+3
|
* core: Use unrestricted union to hold storage of ResultVal valueYuri Kunde Schlesner2016-03-051-42/+16
|
* BitField: Make trivially copyable and remove assignment operatorMerryMage2016-02-121-4/+4
|
* HLE/SVC: Implement UnmapMemoryBlock.Subv2016-01-141-0/+1
| | | | This implementation will need to be (almost completely) changed when we implement multiprocess support.
* Common: Cleanup key_map includes.Emmanuel Gil Peyrot2015-06-281-1/+1
|
* Common: Remove common.hYuri Kunde Schlesner2015-05-071-0/+1
|
* result: Make comparison operators take referencesLioncash2015-02-281-2/+2
| | | | It's unnecessary to make copies for simple comparisons like this.
* Convert a few C stdlib asserts to Citra's own assertsarchshift2015-02-191-6/+4
|
* Asserts: break/crash program, fit to style guide; log.h->assert.harchshift2015-02-111-1/+1
| | | | | | | 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.Subv2015-02-101-3/+3
|
* Remove result.h InvalidHandleYuri Kunde Schlesner2015-01-301-5/+0
| | | | | 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.Yuri Kunde Schlesner2015-01-301-1/+25
|
* Logging: Log all called service functions (under trace). Compile out all trace logs under release for performance.archshift2015-01-101-2/+2
|
* License changepurpasmart962014-12-211-1/+1
|
* Filesystem/Archives: Implemented the SaveData archiveSubv2014-12-181-0/+2
| | | | | | | | | | 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 codeYuri Kunde Schlesner2014-11-241-0/+400
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.