Skip to content
Snippets Groups Projects
  1. May 18, 2019
    • Lioncash's avatar
      service/am: Add missing return in error case for IStorageAccessor's Read()/Write(). · 88c263ee
      Lioncash authored
      Previously this would fall through and return successfully, despite
      being an out of bounds read or write.
      88c263ee
    • Lioncash's avatar
      core/kernel/object: Rename ResetType enum members · a47aaa7f
      Lioncash authored
      Renames the members to more accurately indicate what they signify.
      "OneShot" and "Sticky" are kind of ambiguous identifiers for the reset
      types, and can be kind of misleading. Automatic and Manual communicate
      the kind of reset type in a clearer manner. Either the event is
      automatically reset, or it isn't and must be manually cleared.
      
      The "OneShot" and "Sticky" terminology is just a hold-over from Citra
      where the kernel had a third type of event reset type known as "Pulse".
      Given the Switch kernel only has two forms of event reset types, we
      don't need to keep the old terminology around anymore.
      a47aaa7f
  2. Apr 17, 2019
  3. Apr 11, 2019
  4. Apr 04, 2019
    • Lioncash's avatar
      hle/service: Resolve unused variable warnings · 7f506be2
      Lioncash authored
      In several places, we have request parsers where there's nothing to
      really parse, simply because the HLE function in question operates on
      buffers. In these cases we can just remove these instances altogether.
      
      In the other cases, we can retrieve the relevant members from the parser
      and at least log them out, giving them some use.
      7f506be2
  5. Apr 03, 2019
  6. Mar 26, 2019
    • Lioncash's avatar
      service/am: Implement EnterFatalSection and LeaveFatalSection · 758d84db
      Lioncash authored
      These functions act in tandem similar to how a lock or mutex require a
      balanced lock()/unlock() sequence.
      
      EnterFatalSection simply increments a counter for how many times it has
      been called, while LeaveFatalSection ensures that a previous call to
      EnterFatalSection has occured. If a previous call has occurred (the
      counter is not zero), then the counter gets decremented as one would
      expect. If a previous call has not occurred (the counter is zero), then
      an error code is returned.
      758d84db
    • Lioncash's avatar
      service/am: Sort ISelfController's member functions according to table order · 96d518a5
      Lioncash authored
      Makes the declaration order of the handling functions consistent with
      the handler table itself.
      96d518a5
  7. Mar 21, 2019
  8. Mar 18, 2019
    • Lioncash's avatar
      service/am: Add basic implementation of ChangeMainAppletMasterVolume · 26b80954
      Lioncash authored
      All this does is supply a new volume level and a fade time in
      nanoseconds for the volume transition to occur within.
      26b80954
    • Lioncash's avatar
      service/am: Unstub SetTransparentVolumeRate() · c07ebeac
      Lioncash authored
      Like the other volume setter, this mainly just sets a data member within
      the service, nothing too special.
      c07ebeac
    • Lioncash's avatar
      service/am: Unstub SetExpectedMasterVolume() · ecd3afdc
      Lioncash authored
      This function passes in the desired main applet and library applet
      volume levels. We can then just pass those values back within the
      relevant volume getter functions, allowing us to unstub those as well.
      
      The initial values for the library and main applet volumes differ. The
      main applet volume is 0.25 by default, while the library applet volume
      is initialized to 1.0 by default in the services themselves.
      ecd3afdc
  9. Feb 05, 2019
  10. Jan 04, 2019
  11. Dec 28, 2018
  12. Dec 27, 2018
  13. Dec 18, 2018
  14. Dec 10, 2018
    • Zach Hilman's avatar
      applets: Correct usage of SignalStateChanged event · 0d2ba2ca
      Zach Hilman authored
      This was causing some games (most notably Pokemon Quest) to softlock due to an event being fired when not supposed to. This also removes a hack wherein we were firing the state changed event when the game retrieves it, which is incorrect.
      0d2ba2ca
  15. Dec 03, 2018
  16. Nov 29, 2018
  17. Nov 27, 2018
  18. Nov 26, 2018
  19. Nov 22, 2018
  20. Nov 21, 2018
    • Lioncash's avatar
      am: Correct build failure · f17e1220
      Lioncash authored
      The interface for shared memory was changed, but another commit was
      merged that relied on the (previously public) internals of SharedMemory.
      
      This amends that discrepancy.
      f17e1220
  21. Nov 20, 2018
  22. Nov 19, 2018
  23. Nov 18, 2018
Loading