Skip to content
Snippets Groups Projects
  1. Dec 19, 2014
  2. Dec 15, 2014
  3. Dec 13, 2014
  4. Dec 10, 2014
  5. Nov 24, 2014
    • Yuri Kunde Schlesner's avatar
      HLE: Revamp error handling throrough the HLE code · c2588403
      Yuri Kunde Schlesner authored
      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.
      c2588403
  6. Nov 18, 2014
  7. Oct 29, 2014
  8. Sep 30, 2014
  9. Sep 09, 2014
  10. Aug 25, 2014
  11. Aug 12, 2014
  12. Aug 06, 2014
  13. Jul 22, 2014
  14. Jul 05, 2014
  15. Jun 13, 2014
  16. Jun 12, 2014
  17. Jun 01, 2014
  18. May 30, 2014
Loading