Skip to content
Snippets Groups Projects
  1. Aug 20, 2018
  2. Aug 17, 2018
  3. Aug 16, 2018
  4. Aug 15, 2018
    • Lioncash's avatar
      kernel/server_session: Add IsSession() member function · aac5792a
      Lioncash authored
      Allows querying the inverse of IsDomain() to make things more readable.
      This will likely also be usable in the event of implementing
      ConvertDomainToSession().
      aac5792a
    • Lioncash's avatar
      sm/controller: Correct return value of QueryPointerBufferSize · 57524546
      Lioncash authored
      This should be returning a u16 according to Switch Brew.
      57524546
    • Lioncash's avatar
      lm: Use LOG_DEBUG for printing out trace logs · b74df629
      Lioncash authored
      Using LOG_TRACE here isn't a good idea because LOG_TRACE is only enabled
      when yuzu is compiled in debug mode. Debug mode is also quite slow, and
      so we're potentially throwing away logging messages that can provide
      value when trying to boot games.
      b74df629
    • Lioncash's avatar
      lm: Handle threads and modules within the logger · e0b0f4ee
      Lioncash authored
      The thread field serves to indicate which thread a log is related to and
      provides the length of the thread's name, so we can print that out,
      ditto for modules.
      
      Now we can know what threads are potentially spawning off logging
      messages (for example Lydie & Suelle bounces between MainThread and
      LoadingThread when initializing the game).
      e0b0f4ee
    • Lioncash's avatar
      kernel/svc: Log svcBreak parameters · 25d71454
      Lioncash authored
      Given if we hit here all is lost, we should probably be logging the
      break reason code and associated information to distinguish between the
      causes.
      25d71454
  5. Aug 13, 2018
  6. Aug 12, 2018
  7. Aug 10, 2018
  8. Aug 09, 2018
  9. Aug 08, 2018
    • Lioncash's avatar
      fsp_srv: Use std::string_view's copy() function instead of strncpy() · 7353cfc7
      Lioncash authored
      Given elements inserted into a vector are zeroed out, we can just copy
      MAX_LEN - 1 elements and the data will already be properly null
      terminated.
      7353cfc7
    • Lioncash's avatar
      fsp_srv: Emplace entries first when building index instead of emplacing last · 4afb05d0
      Lioncash authored
      The current way were doing it would require copying a 768 character
      buffer (part of the Entry struct) to the new element in the vector.
      Given it's a plain array, std::move won't eliminate that.
      
      Instead, we can emplace an instance directly into the destination buffer
      and then fill it out, avoiding the need to perform any unnecessary
      copies.
      
      Given this is done in a loop, we can request the destination to allocate
      all of the necessary memory ahead of time, avoiding the need to
      potentially keep reallocating over and over on every few insertions into
      the vector.
      4afb05d0
    • mailwl's avatar
      Service/Account: stub LoadImage function · c0d44d3b
      mailwl authored
      c0d44d3b
Loading