- 09 Dec, 2020 5 commits
-
-
Rodrigo Locatti authored
network, sockets: Replace `POLL_IN`, `POLL_OUT`, etc. constants with an `enum class PollEvents`
-
Rodrigo Locatti authored
common/file_util: Make use of std::filesystem
-
Lioncash authored
Converts creation and deletion functions over to std::filesystem, simplifying our file-handling code. Notably with this, CopyDir will now function on Windows.
-
bunnei authored
core: Remove unnecessary enum casts in log calls
-
bunnei authored
applets: Resolve variable shadowing
-
- 08 Dec, 2020 14 commits
-
-
Lioncash authored
Greatly simplifies our file-handling code for these functions.
-
LC authored
ci: Remove `-DYUZU_USE_BUNDLED_UNICORN=ON`
-
lat9nq authored
Unicorn has been removed, yet CI still enables building with Unicorn. This just cleans up a few leftovers by removing the variable from the CMake parameters in CI.
-
bunnei authored
memory: Resolve -Wdocumentation warning for Write()
-
Lioncash authored
Write() doesn't return anything, so the @returns tag shouldn't be present.
-
bunnei authored
configure_motion_touch: Fix unescaped backslash in regex
-
Morph authored
controller: Avoid unnecessary copies in ConfigurationComplete()
-
Lioncash authored
Follows the video core PR. fmt doesn't require casts for enum classes anymore, so we can remove quite a few casts.
-
Lioncash authored
Avoids unnecessary copies.
-
Lioncash authored
Avoids unnecessary 1072 byte copies when querying info about controllers.
-
Morph authored
Disable analog joystick from buttons by default
-
german authored
-
Rodrigo Locatti authored
video_core: Make use of ordered container contains() where applicable
-
Rodrigo Locatti authored
ast: Improve string concat readability in operator()
-
- 07 Dec, 2020 21 commits
-
-
bunnei authored
CMakeLists,network: Create YUZU_UNIX macro to replace __unix__
-
Lioncash authored
With C++20, we can use the more concise contains() member function instead of comparing the result of the find() call with the end iterator.
-
Lioncash authored
Provides an in-place format string to make it more pleasant to read.
-
bunnei authored
map_interval: Change field order to address uninitialized field warning
-
Rodrigo Locatti authored
shader_ir: std::move node within DeclareAmend()
-
Rodrigo Locatti authored
buffer_block: Remove unnecessary includes
-
Lioncash authored
Prevents logic errors from occurring from unused values.
-
Lioncash authored
Reduces the amount of dependencies the header pulls in.
-
Rodrigo Locatti authored
video_core: Remove unnecessary enum class casting in logging messages
-
bunnei authored
core: Mark unused fields as [[maybe_unused]]
-
bunnei authored
hle: Type check ResponseBuilder::Push arguments, and fix use in vi.cpp
-
Lioncash authored
Same behavior, but elides an unnecessary atomic reference count increment and decrement.
-
Lioncash authored
fmt now automatically prints the numeric value of an enum class member by default, so we don't need to use casts any more. Reduces the line noise a bit.
-
LC authored
nvdrv: Remove useless re-declaration of pure virtual methods that were already declared in the superclass
-
LC authored
boxcat: Avoid unnecessary object copy
-
LC authored
renderer_vulkan: Add missing `override` specifier
-
LC authored
video_core: Resolve more variable shadowing scenarios pt.3
-
comex authored
Since this is inside a string literal, backslashes that are part of regex syntax have to be escaped. But that's ugly, so convert to a raw string instead.
-
comex authored
Actually, two enum classes, since for some reason there are two separate yet identical `PollFD` types used in the codebase. I get that one is ABI-compatible with the Switch while the other is an abstract type used for the host, but why not use `WSAPOLLFD` directly for the latter? Anyway, why make this change? Because on Apple platforms, `POLL_IN`, `POLL_OUT`, etc. (with an underscore) are defined as macros in <sys/signal.h>. (This is inherited from FreeBSD.) So defining a variable with the same name causes a compile error. I could just rename the variables, but while I was at it I thought I might as well switch to an enum for stronger typing. Also, change the type used for values copied directly to/from the `events` and `revents` fields of the host *native* `pollfd`/`WSASPOLLFD`, from `u32` to `short`, as `short` is the correct canonical type on both Unix and Windows.
-
LC authored
Fix "explicitly defaulted but implicitly deleted" warning
-
comex authored
`PhysicalCore`'s move assignment operator was declared as `= default`, but was implicitly deleted because `PhysicalCore` has fields of reference type. Switch to explicitly deleting it to avoid a Clang warning. The move *constructor* is still defaulted, and is required to exist due to the use of `std::vector<PhysicalCore>`.
-