Age | Commit message (Collapse) | Author |
|
async_shaders: Resolve -Wpessimizing-move warning
|
|
While we're in the same area, we can ensure GameDir member variables are
always initialized to consistent values.
|
|
common: Make use of [[nodiscard]] where applicable
|
|
maxwell_3d: Resolve -Wextra-semi warning
|
|
Seems like all compilers don't support std::span yet.
|
|
Now that clang-format makes [[nodiscard]] attributes format sensibly, we
can apply them to several functions within the common library to allow
the compiler to complain about any misuses of the functions.
|
|
core: Resolve several -Wextra-semi warnings
|
|
software_keyboard: Resolve a pessimizing move warning
|
|
system_control: Make functions internally linked where applicable
|
|
kernel/scheduler: Mark SchedulerLock constructor as nodiscard
|
|
lz4_compression/zstd_compression: Make use of std::span in interfaces
|
|
textures/decoders: Fix block linear to pitch copies
|
|
Prevents a useless self-assignment from occurring.
|
|
A std::vector created in place like this is already an rvalue and
doesn't need to be moved.
|
|
We can amend one of the cascade macros to require semicolons in order to
compile. In other cases, we can just remove the superfluous semicolons.
|
|
Prevents pessimization of the move constructor (which thankfully didn't
actually happen in practice here, given std::thread isn't copyable).
|
|
Semicolons after a function definition aren't necessary.
|
|
Ensures that callers make use of the constructor, preventing bugs from
silently occurring.
|
|
Allows the compiler to warn about cases where the constructor is used
but then immediately discarded, which is a potential cause of
locking/unlocking bugs.
|
|
cheat_engine: Resolve implicit bool->u64 conversion
|
|
gl_shader_cache: Use std::max() for determining num_workers
|
|
General: Tidy up clang-format warnings part 2
|
|
|
|
Does not allocate more threads than available in the host system for boot-time shader compilation and always allocates at least 1 thread if hardware_concurrency() returns 0.
|
|
freezer: Make use of std::erase_if
|
|
common/virtual_buffer: drop unused includes
|
|
General: Tidy up clang-format warnings
|
|
There were two issues with block linear copies. First the swizzling was
wrong and this commit reimplements them.
The other issue was that these copies are generally used to download
render targets from the GPU and yuzu was not downloading them from
host GPU memory unless the extreme GPU accuracy setting was selected.
This commit enables cached memory reads for all accuracy levels.
- Fixes level thumbnails in Super Mario Maker 2.
|
|
cheat_engine: Make use of designated initializers
|
|
This PR is now only the Analog devices handling the range value defaulting at 100%
|
|
|
|
|
|
|
|
|
|
kernel: Remove unused variables
|
|
vfs_vector: Make creation of array vfs files less verbose
|
|
|
|
game_list_worker: Do not clear entries when > 1 gamedir is present
|
|
am: Unstub SetScreenShotPermission
|
|
video_core: Remove redundant pixel format type
|
|
This makes it more inline with its currently unavailable standardized
analogue std::derived_from.
While we're at it, we can also make the template match the requirements
of the standardized variant as well.
|
|
partition_data_manager: Make data arrays constexpr
|
|
address_arbiter/scheduler: Resolve sign conversion warnings
|
|
Cleans up the callsites in other functions.
|
|
VAddr will always be 64-bit, so there's no need to take a trivial
primitive alias by reference.
|
|
With C++20 we can simplify the erasing idiom.
|
|
We can just return zero here.
|
|
Same behavior, but makes the member being assigned obvious.
|
|
Fills in some hashes that were previously unhandled.
|
|
Previously the constructor for all of these would run at program
startup, consuming time before the application can enter main().
This is also particularly dangerous, given the logging system wouldn't
have been initialized properly yet, yet the program would use the logs
to signify an error.
To rectify this, we can replace the literals with constexpr functions
that perform the conversion at compile-time, completely eliminating the
runtime cost of initializing these arrays.
|