1. 06 Oct, 2018 10 commits
  2. 05 Oct, 2018 4 commits
    • balika011's avatar
      thread: Make the scheduler pointer a regular pointer · 1a5d6de0
      balika011 authored
      Conceptually, it doesn't make sense for a thread to be able to persist
      the lifetime of a scheduler. A scheduler should be taking care of the
      threads; the threads should not be taking care of the scheduler.
      
      If the threads outlive the scheduler (or we simply don't actually
      terminate/shutdown the threads), then it should be considered a bug
      that we need to fix.
      
      Attributing this to balika011, as they opened #1317 to attempt to fix
      this in a similar way, but my refactoring of the kernel code caused
      quite a few conflicts.
      1a5d6de0
    • bunnei's avatar
      Merge pull request #1439 from lioncash/thread · e51d7157
      bunnei authored
      kernel/thread: Make all instance variables private
      e51d7157
    • bunnei's avatar
      Merge pull request #1442 from lioncash/format · fe292573
      bunnei authored
      text_formatter: Avoid unnecessary string temporary creation in PrintMessage()
      fe292573
    • Lioncash's avatar
      text_formatter: Avoid unnecessary string temporary creation in PrintMessage() · 6f168262
      Lioncash authored
      operator+ for std::string creates an entirely new string, which is kind
      of unnecessary here if we just want to append a null terminator to the
      existing one.
      
      Reduces the total amount of potential allocations that need to be done
      in the logging path.
      6f168262
  3. 04 Oct, 2018 6 commits
    • Lioncash's avatar
      ui_settings: Place definition of the theme array within the cpp file · 30dfd891
      Lioncash authored
      Placing the array wholesale into the header places a copy of the whole
      array into every translation unit that uses the data, which is wasteful.
      Particularly given that this array is referenced from three different
      translation units.
      
      This also changes the array to contain pairs of const char*, rather than
      QString instances. This way, the string data is able to be fixed into
      the read-only segment of the program, as well as eliminate static
      constructors/heap allocation immediately on program start.
      30dfd891
    • bunnei's avatar
      Merge pull request #1415 from DarkLordZach/ips · f85f2b37
      bunnei authored
      file_sys: Add support for loading IPS patches
      f85f2b37
    • Lioncash's avatar
      kernel/thread: Make all instance variables private · baed7e1f
      Lioncash authored
      Many of the member variables of the thread class aren't even used
      outside of the class itself, so there's no need to make those variables
      public. This change follows in the steps of the previous changes that
      made other kernel types' members private.
      
      The main motivation behind this is that the Thread class will likely
      change in the future as emulation becomes more accurate, and letting
      random bits of the emulator access data members of the Thread class
      directly makes it a pain to shuffle around and/or modify internals.
      Having all data members public like this also makes it difficult to
      reason about certain bits of behavior without first verifying what parts
      of the core actually use them.
      
      Everything being public also generally follows the tendency for changes
      to be introduced in completely different translation units that would
      otherwise be better introduced as an addition to the Thread class'
      public interface.
      baed7e1f
    • ReinUsesLisp's avatar
      gl_rasterizer: Implement quads topology · 3e238032
      ReinUsesLisp authored
      3e238032
    • bunnei's avatar
      Merge pull request #1434 from DarkLordZach/dlc-edge-case · cf3a6dd4
      bunnei authored
      aoc_u: Fix edge case with DLC that causes breaks
      cf3a6dd4
    • bunnei's avatar
      Merge pull request #1428 from lioncash/qt · af672d8a
      bunnei authored
      configure_graphics: Make functions internally linked where applicable
      af672d8a
  4. 03 Oct, 2018 20 commits