Lioncash
f6ff8a0235
configuration_shared: Simplify name lookup in highlighting functions
We can query the given object name directly from the widget itself. This
removes any potential for forgetting to change the name if the widget
gets renamed and makes the API much simpler (just pass in the widget,
and not worry about its name).
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
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
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
Lioncash
304da7bfc8
cheat_engine: Resolve implicit bool->u64 conversion
We can just return zero here.
5 years ago
Lioncash
6c2392941b
cheat_engine: Make use of designated initializers
Same behavior, but makes the member being assigned obvious.
5 years ago
Lioncash
accf36193b
partition_data_manager: Update master key hashes
Fills in some hashes that were previously unhandled.
5 years ago
Lioncash
b0c3f66dc7
partition_data_manager: Make data arrays constexpr
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.
5 years ago
bunnei
f0be76a50a
Merge pull request #4489 from lioncash/typesafe
ipc_helpers: Only allow trivially copyable objects with PushRaw() and PopRaw()
5 years ago
bunnei
7f6689983f
Merge pull request #4484 from lioncash/aesutil
aes_util: Allow SetIV() to be non-allocating
5 years ago
bunnei
9e2e3dacdd
Merge pull request #4477 from lioncash/log-desig
logging/backend: Make use of designated initializers
5 years ago
Jan Beich
ff9473d6a0
common/virtual_buffer: drop unused includes
On DragonFly and NetBSD build fails with
src/common/virtual_buffer.cpp
src/common/virtual_buffer.cpp:16:10: fatal error: sys/sysinfo.h: No such file or directory
#include <sys/sysinfo.h>
^~~~~~~~~~~~~~~
5 years ago
bunnei
c6ea0b876c
Merge pull request #4475 from lioncash/bqueue
buffer_queue: Make use of designated initializers/std::nullopt where applicable
5 years ago
bunnei
5c068fa60c
Merge pull request #4479 from lioncash/concepts
CMakeLists: Resolve #4478
5 years ago
Lioncash
3ea31a9922
kernel: Remove unused variables
Resolves a few compiler warnings.
5 years ago
Lioncash
353cd8dc24
scheduler: Resolve sign conversion warning
5 years ago
Lioncash
792c1666f7
address_arbiter: Resolve sign conversion warning
Makes our type conversion explicit.
5 years ago
bunnei
88efb0c4ce
Merge pull request #4444 from lioncash/volatile
common/atomic_ops: Don't cast away volatile from pointers
5 years ago
Lioncash
43ef4a7305
ipc_helpers: Only allow trivially copyable objects with PushRaw() and PopRaw()
It's undefined behavior to use non-trivially copyable objects with
std::memcpy, so we can add asserts to catch usages of these at
compile-time.
5 years ago
Lioncash
42c79b8507
vfs_vector: Make creation of array vfs files less verbose
We can add a helper function to make creation of these files nicer.
While we're at it, we can eliminate an unnecessary std::array copy in
the constructor. This makes the overhead on some of these functions way
less intensive, given some arrays were quite large.
e.g. The timezone location names are 9633 bytes in size.
5 years ago
bunnei
ccd9337ec7
Merge pull request #4466 from ogniK5377/loader-type-safe
loader: Make IdentifyFile typesafe
5 years ago
Morph
07603e19b9
game_list_worker: Do not clear entries when > 1 gamedir is present
Previously the map of entries was being cleared while looping through each game directory, this resulted into all game directories except the last game dir to lose content metadata information. Fix this by clearing the entries only once.
5 years ago