Skip to content
Snippets Groups Projects
  1. May 08, 2015
  2. May 07, 2015
  3. Apr 18, 2015
  4. Apr 04, 2015
  5. Apr 03, 2015
  6. Mar 09, 2015
  7. Mar 04, 2015
    • Subv's avatar
      Services: Moved the PTM and APT services to their own folder · 83a8975c
      Subv authored
      This coincidentally fixes an issue about the PTM service failing to create its SharedExtSaveData archive due to the FS service not being initialized by the time the creating code runs.
      
      Ideally I'd like to move each process to its own folder, and have a single file per process that registers the service classes, which would be in their own files inside that folder. Then each service class would just call functions from the process to complete the commands.
      83a8975c
  8. Feb 02, 2015
  9. Feb 01, 2015
  10. Jan 30, 2015
  11. Jan 24, 2015
  12. Jan 21, 2015
  13. Jan 16, 2015
  14. Jan 13, 2015
  15. Jan 09, 2015
  16. Jan 03, 2015
  17. Dec 30, 2014
    • Subv's avatar
      Archives: Implemented ExtSaveData and SharedExtSaveData · 2c89d4d5
      Subv authored
      They will be stored in /extsavedata/SDMC and /extsavedata/NAND respectively.
      Also redirect some APT_A functions to their APT_U equivalents.
      Implemented the gamecoin.dat file in SharedExtSaveData in the PTM module.
      Implemented formatting the savegame.
      Retake a previous savegame if it exists instead of reporting them as not formatted every time a game is loaded.
      2c89d4d5
  18. Dec 26, 2014
  19. Dec 21, 2014
  20. Dec 18, 2014
    • Subv's avatar
      SaveData: Implemented the SystemSaveData archive. · bec527fa
      Subv authored
      It will be stored in the /syssavedata folder. This archive is user by various Services and possibly games via the FS:U service.
      bec527fa
    • Subv's avatar
      Filesystem/Archives: Implemented the SaveData archive · ea9ce0fb
      Subv authored
      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
      ea9ce0fb
  21. Dec 16, 2014
  22. Dec 15, 2014
  23. Dec 13, 2014
  24. Dec 09, 2014
  25. Dec 08, 2014
  26. 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
  27. Nov 21, 2014
  28. Nov 17, 2014
Loading