Skip to content
Snippets Groups Projects
  1. May 31, 2019
  2. May 30, 2019
  3. May 26, 2019
  4. May 20, 2019
  5. Mar 27, 2019
  6. Dec 05, 2018
  7. Dec 04, 2018
  8. Dec 02, 2018
  9. Nov 02, 2018
    • Zach Hilman's avatar
      game_list: Make add-ons column optional · 2d2ef05d
      Zach Hilman authored
      As the add-ons column takes the most processing time out of any (as it needs to search registration for updates/dlc, patch control NCAs, search for mods, etc.), an option was added to disable it. This does not affect the application of add-ons. In large game collections, this decreases game list refresh time by as much as 70%.
      2d2ef05d
  10. Oct 24, 2018
  11. Oct 16, 2018
    • Lioncash's avatar
      file_sys/registered_cache: Use unique_ptr and regular pointers instead of... · 39ae73b3
      Lioncash authored
      file_sys/registered_cache: Use unique_ptr and regular pointers instead of shared_ptrs where applicable
      
      The data retrieved in these cases are ultimately chiefly owned by either
      the RegisteredCache instance itself, or the filesystem factories. Both
      these should live throughout the use of their contained data. If they
      don't, it should be considered an interface/design issue, and using
      shared_ptr instances here would mask that, as the data would always be
      prolonged after the main owner's lifetime ended.
      
      This makes the lifetime of the data explicit and makes it harder to
      accidentally create cyclic references. It also makes the interface
      slightly more flexible than the previous API, as a shared_ptr can be
      created from a unique_ptr, but not the other way around, so this allows
      for that use-case if it ever becomes necessary in some form.
      39ae73b3
  12. Oct 09, 2018
    • Lioncash's avatar
      patch_manager: Return a std::unique_ptr from ParseControlNCA() and... · 6636f3ff
      Lioncash authored
      patch_manager: Return a std::unique_ptr from ParseControlNCA() and GetControlMetadata() instead of a std::shared_ptr
      
      Neither of these functions require the use of shared ownership of the
      returned pointer. This makes it more difficult to create reference
      cycles with, and makes the interface more generic, as std::shared_ptr
      instances can be created from a std::unique_ptr, but the vice-versa
      isn't possible. This also alters relevant functions to take NCA
      arguments by const reference rather than a const reference to a
      std::shared_ptr. These functions don't alter the ownership of the memory
      used by the NCA instance, so we can make the interface more generic by
      not assuming anything about the type of smart pointer the NCA is
      contained within and make it the caller's responsibility to ensure the
      supplied NCA is valid.
      6636f3ff
  13. Oct 05, 2018
  14. Oct 01, 2018
  15. Sep 09, 2018
  16. Sep 07, 2018
    • Lioncash's avatar
      yuzu: Move GameListWorker to its own source files · 564b7fdc
      Lioncash authored
      This has gotten sufficiently large enough to warrant moving it to its
      own source files. Especially given it dumps the file_sys headers around
      code that doesn't use it for the most part.
      
      This'll also make it easier to introduce a type alias for the
      compatibility list, so a large unordered_map type declaration doesn't
      need to be specified all the time (we don't want to propagate the
      game_list_p.h include via the main game_list.h header).
      564b7fdc
Loading