liamwhite
0ae4eae9a6
Merge pull request #8460 from Morph1984/bounded-q
...
bounded_threadsafe_queue: Use constexpr capacity and mask
3 years ago
Morph
25429998e3
bounded_threadsafe_queue: Use constexpr capacity and mask
...
While this is the primary change, we also:
- Remove the mpsc namespace and rename Queue to MPSCQueue
- Make Slot a private struct within MPSCQueue
- Remove the AlignedAllocator template argument, as we use std::allocator
- Replace instances of mask + 1 with capacity, and mask + 2 with capacity + 1
3 years ago
bunnei
5ace5c1b7a
Merge pull request #8317 from german77/notifa
...
service: notifa: Implement most part of this service
3 years ago
Mai
23514388ed
Merge pull request #8464 from liamwhite/break-debug
...
kernel: notify debugger on break SVC
3 years ago
Mai
f117351783
Merge pull request #8465 from Morph1984/why-msvc
...
vk_compute_pass: Explicitly cast to VkAccessFlags
3 years ago
Morph
4572634a4e
vk_compute_pass: Explicitly cast to VkAccessFlags
...
According to the standard, a narrowing conversion is an implicit conversion from an integer or unscoped enumeration type to an integer type that cannot represent all the values of the original type, except when the value is a literal or constant expression.
MSVC, unlike GCC or Clang, determines this to be a narrowing conversion despite the enumeration exclusively containing values that fit within the range of a 32 bit integer, emitting a warning since designated initializers prohibit narrowing conversions.
To solve this, explicitly cast to the type we are initializing.
3 years ago
Mai
103997ee56
Merge pull request #8383 from Morph1984/shadow-of-the-past
...
yuzu: Make variable shadowing a compile-time error
3 years ago
Mai
c9de5474bf
Merge pull request #8462 from liamwhite/dynarmic-profile
...
core: centralize profile scope for Dynarmic
3 years ago
Liam
a7358ff1d4
kernel: notify debugger on break SVC
3 years ago
Liam
20eab9fed9
core: centralize profile scope for Dynarmic
3 years ago
Morph
7620e1a631
externals: Update cpp-httplib to latest
3 years ago
Morph
0eeee431dc
main: Eliminate variable shadowing
3 years ago
Liam
888f499188
kernel: implement KProcess suspension
3 years ago
Morph
c6e7ca562a
Merge pull request #8461 from Morph1984/msvc-narrow-conv
...
vk_compute_pass: Use VK_ACCESS_NONE
3 years ago
Morph
a9b4dd022c
Merge pull request #8434 from german77/uuid
...
input_common: Replace usage of string guid to common uuid
3 years ago
Morph
5568763a57
vk_compute_pass: Use VK_ACCESS_NONE
...
This enumeration was introduced in Vulkan 1.3, prefer using this instead of defaulting the enum.
Also resolves a narrowing conversion warning on MSVC.
3 years ago
Mai
a3b12e3809
Merge pull request #8439 from liamwhite/monkey-compiler
...
general: fix compilation on GCC 12
3 years ago
Morph
742f021fdf
wait_tree: Eliminate variable shadowing
3 years ago
Morph
95bcf6ac38
configure_ringcon: Eliminate variable shadowing
3 years ago
Morph
e371961219
configure_touch_from_button: Eliminate variable shadowing
3 years ago
Morph
5503338f21
configure_per_game: Eliminate variable shadowing
3 years ago
Morph
fe7184c2a8
configure_input_player: Eliminate variable shadowing
3 years ago
Morph
1c83014526
configure_dialog: Eliminate variable shadowing
3 years ago
Morph
2d903e3ce6
bootmanager: Eliminate variable shadowing
3 years ago
Morph
e29e8eec2f
game_list: Eliminate variable shadowing
3 years ago
Mai
dc47d0f624
Merge pull request #8459 from Morph1984/wextra-gcc
...
vk_compute_pass: Silence Wextra warning
3 years ago
Morph
8b55f2c615
externals: microprofileui: Eliminate variable shadowing
3 years ago
Morph
fcfe192e83
vk_compute_pass: Silence Wextra warning
...
Silences a warning about using enumerated and non-enumerated types in a conditional expression.
3 years ago
Liam
bd38aefc57
kernel: fix passthrough of local captures in lambda
3 years ago
Liam
feaf010fa2
common/assert: rework ASSERT handling to avoid std::function usage
3 years ago
Liam
ebecdd3a74
general: fix compilation on MinGW GCC 12
3 years ago
Liam
a29ddcee40
common/assert: add unlikely
3 years ago
Liam
d11547024c
general: fix compilation on GCC 12
3 years ago
Liam
6f59e2676b
kernel: ensure class token lambda exit is unreachable
3 years ago
Liam
8fea7e56e5
kernel: fix inconsistency in AutoObjectTraits macro definitions
3 years ago
Liam
58fea44eb5
common: Don't test ASSERT conditions inline
3 years ago
Liam
084d7d6b01
common: Change semantics of UNREACHABLE to unconditionally crash
3 years ago
liamwhite
bd3bfe411d
Merge pull request #8458 from lat9nq/no-constexpr-flow-block
...
structured_control_flow: Remove constexpr Flow::Block
3 years ago
lat9nq
963ed37fd6
structured_control_flow: Remove constexpr Flow::Block
...
This seems to be unsupported in newer libstdc++ versions due to
Flow::Block's base class being a non-literal type. It's not clear to me
why this was permitted in earlier versions.
3 years ago
bunnei
741da9c8bf
Merge pull request #8388 from liamwhite/simpler-pause
...
CpuManager: simplify pausing
3 years ago
Morph
69d92a19a5
yuzu_cmd: Eliminate variable shadowing
3 years ago
Morph
8671aa8dd0
audio_core: Remove -Werror=unused-parameter
...
Removing this as we don't enforce unused parameter warnings elsewhere in the project, and explicitly specify -Wno-unused-parameter in the main CMakeLists.
3 years ago
Morph
efc89c032b
CMakeLists: Make variable shadowing a compile-time error
...
Now that the entire project is free of variable shadowing, we can enforce this as a compile time error to prevent any further introduction of this logic bug.
3 years ago
Morph
d0328f49f1
externals: microprofile: Eliminate variable shadowing
3 years ago
Morph
c1bd602e4c
common: Eliminate variable shadowing
...
GCC/Clang treats variables within lambdas as potentially shadowing those outside the lambda, despite them not being captured inside the lambda's capture list.
3 years ago
Morph
b3d6f7bdd8
yuzu: Eliminate variable shadowing
3 years ago
Morph
12156b199a
web_service: Eliminate variable shadowing
3 years ago
Morph
a0407a8e64
Merge pull request #8446 from liamwhite/cmd-gdb
...
core/debugger: support operation in yuzu-cmd
3 years ago
Morph
7582717c9d
Merge pull request #8454 from liamwhite/inaddr-any
...
core/debugger: allow remote connections
3 years ago
bunnei
ec85eac3c9
Merge pull request #8443 from liamwhite/code-mem
...
kernel: fix KCodeMemory initialization
3 years ago