Lioncash
f9fe50958e
yuzu: Resolve -Wextra-semi warnings
While we're in the same area, we can ensure GameDir member variables are
always initialized to consistent values.
5 years ago
bunnei
f3ea8a3653
Merge pull request #4528 from lioncash/discard
common: Make use of [[nodiscard]] where applicable
5 years ago
bunnei
e6984ce40f
Merge pull request #4519 from lioncash/semi
maxwell_3d: Resolve -Wextra-semi warning
5 years ago
Lioncash
0977ef7d7f
common/compression: Roll back std::span changes
Seems like all compilers don't support std::span yet.
5 years ago
Lioncash
2ef7815422
common: Make use of [[nodiscard]] where applicable
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.
5 years ago
bunnei
81eae1562a
Merge pull request #4526 from lioncash/core-semi
core: Resolve several -Wextra-semi warnings
5 years ago
bunnei
2f477fe630
Merge pull request #4527 from lioncash/pessimizing2
software_keyboard: Resolve a pessimizing move warning
5 years ago
bunnei
a191355688
Merge pull request #4492 from lioncash/linkage
system_control: Make functions internally linked where applicable
5 years ago
bunnei
88fdc4c659
Merge pull request #4463 from lioncash/lockdiscard
kernel/scheduler: Mark SchedulerLock constructor as nodiscard
5 years ago
bunnei
352755a57a
Merge pull request #4416 from lioncash/span
lz4_compression/zstd_compression: Make use of std::span in interfaces
5 years ago
bunnei
8920ac9fba
Merge pull request #4518 from lioncash/fmtlib
CMakeLists: Update fmt to 7.0.3
5 years ago
bunnei
d9dacef9d7
Merge pull request #4453 from ReinUsesLisp/block-to-linear
textures/decoders: Fix block linear to pitch copies
5 years ago
bunnei
1cc12c8cd9
Merge pull request #4529 from lioncash/assignment
time_zone_content_manager: Collapse auto and default case
5 years ago
Lioncash
b86bba9f7e
time_zone_content_manager: Collapse auto and default case
Prevents a useless self-assignment from occurring.
5 years ago
Lioncash
c2249ec9ad
CMakeLists: Update fmt to 7.0.3
Keeps the library up to date and fixes a few bugs
5 years ago
Lioncash
910dff8816
software_keyboard: Resolve a pessimizing move warning
A std::vector created in place like this is already an rvalue and
doesn't need to be moved.
5 years ago
Lioncash
0c78ed16df
core: Resolve several -Wextra-semi warnings
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.
5 years ago
Lioncash
6dd94f94e6
maxwell_3d: Resolve -Wextra-semi warning
Semicolons after a function definition aren't necessary.
5 years ago
Lioncash
f44ad07f2f
emu_window: Mark Scoped constructor and Acquire() as nodiscard
Ensures that callers make use of the constructor, preventing bugs from
silently occurring.
5 years ago
Lioncash
8d7e58562f
kernel/scheduler: Mark SchedulerLock constructor as nodiscard
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.
5 years ago
Rodrigo Locatti
2740be0f9d
Merge pull request #4495 from lioncash/conv
cheat_engine: Resolve implicit bool->u64 conversion
5 years ago
bunnei
a03ec7bdf4
Merge pull request #4514 from Morph1984/worker-alloc
gl_shader_cache: Use std::max() for determining num_workers
5 years ago
LC
77a3efb1c5
Merge pull request #4511 from lioncash/build2
General: Tidy up clang-format warnings part 2
5 years ago
Lioncash
78ddcbe3ba
General: Tidy up clang-format warnings part 2
5 years ago
Morph
237d4bb1c5
gl_shader_cache: Use std::max() for determining num_workers
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.
5 years ago
bunnei
d7958019b6
Merge pull request #4497 from lioncash/freezer-alg
freezer: Make use of std::erase_if
5 years ago
bunnei
0a7b8e1308
Merge pull request #4493 from jbeich/dragonfly
common/virtual_buffer: drop unused includes
5 years ago
bunnei
312c3a7327
Merge pull request #4502 from lioncash/build
General: Tidy up clang-format warnings
5 years ago
ReinUsesLisp
9a83f8794b
textures/decoders: Fix block linear to pitch copies
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.
5 years ago
bunnei
10c4fff79c
Merge pull request #4496 from lioncash/ce-desig
cheat_engine: Make use of designated initializers
5 years ago
bunnei
7ffb0583f3
Merge pull request #4330 from ameerj/master
input_configuration: Add range logic for analog sticks
5 years ago
ameerj
5d4750541b
Remove UI changes
This PR is now only the Analog devices handling the range value defaulting at 100%
5 years ago
ameerj
ac3cdc1741
Add range slider functionality for gc adapter
6 years ago
Ameer
6afee6b0c8
undo unnecessary newlines, slider range 50-150
6 years ago
Ameer
16d15421c5
Address c++20 warning, fix inaccurate range text display when slide == 0
6 years ago
Ameer
1eb1eff48c
Add range slider for analog sticks
6 years ago
bunnei
16993fc92b
Merge pull request #4491 from lioncash/unused-vars
kernel: Remove unused variables
5 years ago
bunnei
51bfe3397f
Merge pull request #4488 from lioncash/file
vfs_vector: Make creation of array vfs files less verbose
5 years ago
Lioncash
14874f0b67
General: Tidy up clang-format warnings
5 years ago
bunnei
dc446cf34e
Merge pull request #4448 from Morph1984/fix-entries
game_list_worker: Do not clear entries when > 1 gamedir is present
5 years ago
bunnei
7483e76613
Merge pull request #4457 from ogniK5377/SetScreenShotPermission
am: Unstub SetScreenShotPermission
5 years ago
bunnei
d17331ebbf
Merge pull request #4389 from ogniK5377/redundant-format-type
video_core: Remove redundant pixel format type
5 years ago
bunnei
88b5191eec
Merge pull request #4464 from lioncash/format-pass
ci: Make use of clang-format 10.0
5 years ago
David
bb08efed8b
Merge pull request #4501 from lioncash/is_base_of
common/concepts: Rename IsBaseOf to DerivedFrom
5 years ago
Lioncash
80d04c0daa
common/concepts: Rename IsBaseOf to DerivedFrom
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.
5 years ago
bunnei
27636c8a7a
Merge pull request #4483 from lioncash/constexpr-hex
partition_data_manager: Make data arrays constexpr
5 years ago
bunnei
556422d711
Merge pull request #4490 from lioncash/arbiter
address_arbiter/scheduler: Resolve sign conversion warnings
5 years ago
Lioncash
21229948aa
freezer: Move entry finding to its own function
Cleans up the callsites in other functions.
5 years ago
Lioncash
4a54d99f0d
freezer: Take address values by value
VAddr will always be 64-bit, so there's no need to take a trivial
primitive alias by reference.
5 years ago
Lioncash
b67eb6746b
freezer: Make use of std::erase_if
With C++20 we can simplify the erasing idiom.
5 years ago