1. 21 Dec, 2018 2 commits
  2. 19 Dec, 2018 14 commits
  3. 18 Dec, 2018 10 commits
  4. 17 Dec, 2018 2 commits
  5. 16 Dec, 2018 2 commits
  6. 15 Dec, 2018 5 commits
  7. 14 Dec, 2018 3 commits
  8. 13 Dec, 2018 2 commits
    • Lioncash's avatar
      audio_core: Make g_sink_details internally linked · 6beb823f
      Lioncash authored
      We can hide the direct array from external view and instead provide
      functions to retrieve the necessary info. This has the benefit of
      completely hiding the makeup of the SinkDetails structure from the rest
      of the code.
      
      Given that this makes the array hidden, we can also make the array
      constexpr by altering the members slightly. This gets rid of several
      static constructor calls related to std::vector and std::function.
      
      Now we don't have heap allocations here that need to occur before the
      program can even enter main(). It also has the benefit of saving a
      little bit of heap space, but this doesn't matter too much, since the
      savings in that regard are pretty tiny.
      6beb823f
    • Jens Schmer's avatar
      Fix Service object leak on emulation stop · 27a9cc2e
      Jens Schmer authored
      Services created with the ServiceFramework base class install themselves as HleHandlers with an owning shared_ptr in the ServerPort ServiceFrameworkBase::port member variable, creating a cyclic ownership between ServiceFrameworkBase and the ServerPort, preventing deletion of the service objects.
      
      Fix that by removing the ServiceFrameworkBase::port member because that was only used to detect multiple attempts at installing a port. Instead store a flag if the port was already installed to achieve the same functionality.
      27a9cc2e