Skip to content
Snippets Groups Projects
  1. Oct 16, 2018
  2. Oct 07, 2018
  3. Oct 06, 2018
  4. Oct 04, 2018
    • 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
  5. Oct 03, 2018
  6. Oct 02, 2018
  7. Sep 15, 2018
  8. Sep 12, 2018
  9. Sep 11, 2018
    • Tobias's avatar
      Port #4141 from citra: Joystick hotplug support (#1275) · 804115b2
      Tobias authored
      * Joystick hotplug support (#4141)
      
      * use SDL_PollEvent instead of SDL_JoystickUpdate
      
      Register hot plugged controller by GUID if they were configured in a previous session
      
      * Move SDL_PollEvent into its own thread
      
      * Don't store SDLJoystick pointer in Input Device; Get pointer on each GetStatus call
      
      * Fix that joystick_list gets cleared after SDL_Quit
      
      * Add VirtualJoystick for InputDevices thats never nullptr
      
      * fixup! Add VirtualJoystick for InputDevices thats never nullptr
      
      * fixup! fixup! Add VirtualJoystick for InputDevices thats never nullptr
      
      * Remove SDL_GameController, make SDL_Joystick* unique_ptr
      
      * fixup! Remove SDL_GameController, make SDL_Joystick* unique_ptr
      
      * Adressed feedback; fixed handling of same guid reconnects
      
      * fixup! Adressed feedback; fixed handling of same guid reconnects
      
      * merge the two joystick_lists into one
      
      * make SDLJoystick a member of VirtualJoystick
      
      * fixup! make SDLJoystick a member of VirtualJoystick
      
      * fixup! make SDLJoystick a member of VirtualJoystick
      
      * fixup! fixup! make SDLJoystick a member of VirtualJoystick
      
      * SDLJoystick: Addressed review comments
      
      * Address one missed review comment
      804115b2
  10. Sep 10, 2018
  11. Sep 09, 2018
  12. Sep 08, 2018
  13. Sep 03, 2018
  14. Aug 27, 2018
  15. Aug 23, 2018
  16. Aug 22, 2018
  17. Aug 20, 2018
  18. Aug 07, 2018
  19. Aug 06, 2018
  20. Aug 03, 2018
  21. Aug 01, 2018
  22. Jul 29, 2018
  23. Jul 21, 2018
    • Lioncash's avatar
      file_util: Use an enum class for GetUserPath() · d66b43da
      Lioncash authored
      Instead of using an unsigned int as a parameter and expecting a user to
      always pass in the correct values, we can just convert the enum into an
      enum class and use that type as the parameter type instead, which makes
      the interface more type safe.
      
      We also get rid of the bookkeeping "NUM_" element in the enum by just
      using an unordered map. This function is generally low-frequency in
      terms of calls (and I'd hope so, considering otherwise would mean we're
      slamming the disk with IO all the time) so I'd consider this acceptable
      in this case.
      d66b43da
Loading