Skip to content
Snippets Groups Projects
  1. Apr 04, 2019
    • ReinUsesLisp's avatar
      gl_shader_decompiler: Fix TXQ types · 88a3c05b
      ReinUsesLisp authored
      TXQ returns integer types. Shaders usually do:
      
      R0 = TXQ(); // => int
      R0 = static_cast<float>(R0);
      
      If we don't treat it as an integer, it will cast a binary float value as
      float - resulting in a corrupted number.
      88a3c05b
  2. Apr 03, 2019
  3. Apr 02, 2019
    • Lioncash's avatar
      kernel/svc: Implement svcGetThreadList · 28719ee3
      Lioncash authored
      Similarly like svcGetProcessList, this retrieves the list of threads
      from the current process. In the kernel itself, a process instance
      maintains a list of threads, which are used within this function.
      
      Threads are registered to a process' thread list at thread
      initialization, and unregistered from the list upon thread destruction
      (if said thread has a non-null owning process).
      
      We assert on the debug event case, as we currently don't implement
      kernel debug objects.
      28719ee3
    • Lioncash's avatar
      kernel/svc: Implement svcGetProcessList · cb2bce80
      Lioncash authored
      This service function simply copies out a specified number of kernel
      process IDs, while simultaneously reporting the total number of
      processes.
      cb2bce80
    • ReinUsesLisp's avatar
      process: Fix up compilation · 592a24ae
      ReinUsesLisp authored
      592a24ae
  4. Apr 01, 2019
  5. Mar 30, 2019
  6. Mar 29, 2019
  7. Mar 28, 2019
  8. Mar 27, 2019
  9. 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
Loading