Skip to content
  1. Mar 08, 2021
  2. Mar 06, 2021
  3. Mar 05, 2021
  4. Mar 04, 2021
  5. Mar 03, 2021
  6. Mar 02, 2021
  7. Mar 01, 2021
  8. Feb 28, 2021
    • comex's avatar
      [network] Error handling reform · 2910aa77
      comex authored
      `network.cpp` has several error paths which either:
      - report "Unhandled host socket error=n" and return `SUCCESS`, or
      - switch on a few possible errors, log them, and translate them to
        Errno; the same switch statement is copied and pasted in multiple
        places in the code
      
      Convert these paths to use a helper function `GetAndLogLastError`, which
      is roughly the equivalent of one of the switch statements, but:
      - handling more cases (both ones that were already in `Errno`, and a few
        more I added), and
      - using OS functions to convert the error to a string when logging, so
        it'll describe the error even if it's not one of the ones in the
        switch statement.
        - To handle this, refactor the logic in `GetLastErrorMsg` to expose a
          new function `NativeErrorToString` which takes the error number
          explicitly as an argument.  And improve the Windows version a bit.
      
      Also, add a test which exercises two random error paths.
      2910aa77
    • bunnei's avatar
      Merge pull request #6007 from bunnei/ldn-error · 9e9341f4
      bunnei authored
      core: hle: ldn: Error out on call to Initialization.
      9e9341f4
    • Morph's avatar
      Merge pull request #5276 from german77/gestures · ee9ebeeb
      Morph authored
      HID: Implement gestures
      ee9ebeeb
    • german's avatar
      e895ab7d
  9. Feb 27, 2021
  10. Feb 26, 2021
  11. Feb 25, 2021
  12. Feb 24, 2021
  13. Feb 23, 2021
    • ReinUsesLisp's avatar
      vk_command_pool: Reduce the command pool size from 4096 to 4 · aae399c1
      ReinUsesLisp authored
      This allows drivers to reuse memory more easily and preallocate less.
      The optimal number has been measured booting Pokémon Sword.
      aae399c1
    • Jan Beich's avatar
      video_core: add missing header after 468bd9c1 · 1841ca4b
      Jan Beich authored
      src/video_core/shader_notify.cpp: In member function 'void VideoCore::ShaderNotify::MarkShaderComplete()':
      src/video_core/shader_notify.cpp:33:10: error: 'unique_lock' is not a member of 'std'
         33 |     std::unique_lock lock{mutex};
            |          ^~~~~~~~~~~
      src/video_core/shader_notify.cpp:6:1: note: 'std::unique_lock' is defined in header '<mutex>'; did you forget to '#include <mutex>'?
          5 | #include "video_core/shader_notify.h"
        +++ |+#include <mutex>
          6 |
      src/video_core/shader_notify.cpp: In member function 'void VideoCore::ShaderNotify::MarkSharderBuilding()':
      src/video_core/shader_notify.cpp:38:10: error: 'unique_lock' is not a member of 'std'
         38 |     std::unique_lock lock{mutex};
            |          ^~~~~~~~~~~
      src/video_core/shader_notify.cpp:38:10: note: 'std::unique_lock' is defined in header '<mutex>'; did you forget to '#include <mutex>'?
      1841ca4b
    • Jan Beich's avatar
      common: add missing header after f3805376 · 71526ecf
      Jan Beich authored
      In file included from src/video_core/dma_pusher.cpp:5:
      src/./common/cityhash.h:69:47: error: 'size_t' has not been declared
         69 | [[nodiscard]] u64 CityHash64(const char* buf, size_t len);
            |                                               ^~~~~~
      src/./common/cityhash.h:73:55: error: 'size_t' has not been declared
         73 | [[nodiscard]] u64 CityHash64WithSeed(const char* buf, size_t len, u64 seed);
            |                                                       ^~~~~~
      src/./common/cityhash.h:77:56: error: 'size_t' has not been declared
         77 | [[nodiscard]] u64 CityHash64WithSeeds(const char* buf, size_t len, u64 seed0, u64 seed1);
            |                                                        ^~~~~~
      src/./common/cityhash.h:80:47: error: 'size_t' has not been declared
         80 | [[nodiscard]] u128 CityHash128(const char* s, size_t len);
            |                                               ^~~~~~
      src/./common/cityhash.h:84:55: error: 'size_t' has not been declared
         84 | [[nodiscard]] u128 CityHash128WithSeed(const char* s, size_t len, u128 seed);
            |                                                       ^~~~~~
      71526ecf
  14. Feb 22, 2021
Loading