Skip to content
Snippets Groups Projects
  1. Jul 30, 2019
  2. Jun 10, 2019
  3. May 29, 2019
  4. May 25, 2019
  5. May 17, 2019
  6. Apr 17, 2019
    • Lioncash's avatar
      CMakeLists: Ensure we specify Unicode as the codepage on Windows · 819c21d9
      Lioncash authored
      Previously we were building with MBCS, which is pretty undesirable. We
      want the application to be Unicode-aware in general.
      
      Currently, we make the command line variant of yuzu use ANSI variants of
      the non-standard getopt functions that we link in for Windows, given we
      only have an ANSI option-set.
      
      We should really replace getopt with a library that we make all build
      types of yuzu link in, but this will have to do for the time being.
      819c21d9
  7. Mar 27, 2019
  8. Mar 19, 2019
  9. Mar 04, 2019
  10. Feb 07, 2019
  11. Oct 13, 2018
    • Lioncash's avatar
      filesystem: Make CreateFactories() and InstallInterface() take a VfsFilesystem... · 0149162d
      Lioncash authored
      filesystem: Make CreateFactories() and InstallInterface() take a VfsFilesystem instance by reference
      
      Neither of these functions alter the ownership of the provided pointer,
      so we can simply make the parameters a reference rather than a direct
      shared pointer alias. This way we also disallow passing incorrect memory values like
      nullptr.
      0149162d
  12. Oct 07, 2018
  13. Oct 02, 2018
  14. Sep 19, 2018
  15. Sep 08, 2018
  16. Sep 02, 2018
    • Lioncash's avatar
      vfs_real: Forward declare IOFile · a4053731
      Lioncash authored
      Eliminates the need to rebuild some source files if the file_util header
      ever changes. This also uncovered some indirect inclusions, which have
      also been fixed.
      a4053731
  17. Aug 31, 2018
    • Lioncash's avatar
      core/core: Replace includes with forward declarations where applicable · 4a587b81
      Lioncash authored
      The follow-up to e2457418, which
      replaces most of the includes in the core header with forward declarations.
      
      This makes it so that if any of the headers the core header was
      previously including change, then no one will need to rebuild the bulk
      of the core, due to core.h being quite a prevalent inclusion.
      
      This should make turnaround for changes much faster for developers.
      4a587b81
  18. Aug 15, 2018
    • Lioncash's avatar
      loader: Make ResultStatus directly compatible with fmt · 87d8a9c9
      Lioncash authored
      We can make the enum class type compatible with fmt by providing an
      overload of operator<<.
      
      While we're at it, perform proper bounds checking. If something exceeds
      the array, it should be a hard fail, because it's, without a doubt, a
      programmer error in this case.
      87d8a9c9
  19. Aug 10, 2018
  20. Aug 09, 2018
  21. Aug 04, 2018
    • Lioncash's avatar
      video_core: Eliminate the g_renderer global variable · 6030c5ce
      Lioncash authored
      We move the initialization of the renderer to the core class, while
      keeping the creation of it and any other specifics in video_core. This
      way we can ensure that the renderer is initialized and doesn't give
      unfettered access to the renderer. This also makes dependencies on types
      more explicit.
      
      For example, the GPU class doesn't need to depend on the
      existence of a renderer, it only needs to care about whether or not it
      has a rasterizer, but since it was accessing the global variable, it was
      also making the renderer a part of its dependency chain. By adjusting
      the interface, we can get rid of this dependency.
      6030c5ce
  22. Aug 02, 2018
    • Lioncash's avatar
      video_core: Make global EmuWindow instance part of the base renderer class · 0f2ac928
      Lioncash authored
      Makes the global a member of the RendererBase class. We also change this
      to be a reference. Passing any form of null pointer to these functions
      is incorrect entirely, especially given the code itself assumes that the
      pointer would always be in a valid state.
      
      This also makes it easier to follow the lifecycle of instances being
      used, as we explicitly interact the renderer with the rasterizer, rather
      than it just operating on a global pointer.
      0f2ac928
  23. Aug 01, 2018
  24. 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
  25. Jul 14, 2018
  26. Jul 12, 2018
  27. Jul 03, 2018
Loading