Mai
5ecb9c932b
Merge pull request #8465 from Morph1984/why-msvc
vk_compute_pass: Explicitly cast to VkAccessFlags
4 years ago
Morph
ddc17d2088
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.
4 years ago
Mai
bb0a6faa0a
Merge pull request #8383 from Morph1984/shadow-of-the-past
yuzu: Make variable shadowing a compile-time error
4 years ago
Mai
1885884176
Merge pull request #8462 from liamwhite/dynarmic-profile
core: centralize profile scope for Dynarmic
4 years ago
Liam
0755b274fa
kernel: notify debugger on break SVC
4 years ago
Liam
a6c1036ddc
core: centralize profile scope for Dynarmic
4 years ago
Morph
b1e2c97172
externals: Update cpp-httplib to latest
4 years ago
Morph
2ccc2d0258
main: Eliminate variable shadowing
4 years ago
Liam
59a6d88625
kernel: implement KProcess suspension
4 years ago
Morph
c1c931d97e
Merge pull request #8461 from Morph1984/msvc-narrow-conv
vk_compute_pass: Use VK_ACCESS_NONE
4 years ago
Morph
3743f6f9fd
Merge pull request #8434 from german77/uuid
input_common: Replace usage of string guid to common uuid
4 years ago
Morph
5c72801730
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.
4 years ago
Mai
ce98a3e5d7
Merge pull request #8439 from liamwhite/monkey-compiler
general: fix compilation on GCC 12
4 years ago
Morph
69cd83d3ac
wait_tree: Eliminate variable shadowing
4 years ago
Morph
050426b55a
configure_ringcon: Eliminate variable shadowing
4 years ago
Morph
a884ca9b8d
configure_touch_from_button: Eliminate variable shadowing
4 years ago
Morph
9eadb6286d
configure_per_game: Eliminate variable shadowing
4 years ago
Morph
e1e6c62dd9
configure_input_player: Eliminate variable shadowing
4 years ago
Morph
30dc4a1d78
configure_dialog: Eliminate variable shadowing
4 years ago
Morph
6134852675
bootmanager: Eliminate variable shadowing
4 years ago
Morph
7e75b94e3b
game_list: Eliminate variable shadowing
4 years ago
Mai
c2c39c564a
Merge pull request #8459 from Morph1984/wextra-gcc
vk_compute_pass: Silence Wextra warning
4 years ago
Morph
049eb899e9
externals: microprofileui: Eliminate variable shadowing
4 years ago
Morph
b3d8533ad9
vk_compute_pass: Silence Wextra warning
Silences a warning about using enumerated and non-enumerated types in a conditional expression.
4 years ago
Liam
f91e2f2742
kernel: fix passthrough of local captures in lambda
4 years ago
Liam
846f266199
common/assert: rework ASSERT handling to avoid std::function usage
4 years ago
Liam
79bf4bc3ff
general: fix compilation on MinGW GCC 12
4 years ago
Liam
855928b782
common/assert: add unlikely
4 years ago
Liam
f3fd1038bb
general: fix compilation on GCC 12
4 years ago
Liam
72abaf896f
kernel: ensure class token lambda exit is unreachable
4 years ago
Liam
32ba68cf0e
kernel: fix inconsistency in AutoObjectTraits macro definitions
4 years ago
Liam
d2af4f8142
common: Don't test ASSERT conditions inline
4 years ago
Liam
c1771c98f3
common: Change semantics of UNREACHABLE to unconditionally crash
4 years ago
liamwhite
063d8354a7
Merge pull request #8458 from lat9nq/no-constexpr-flow-block
structured_control_flow: Remove constexpr Flow::Block
4 years ago
lat9nq
e8fc40baa1
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.
4 years ago
bunnei
9cd39d1880
Merge pull request #8388 from liamwhite/simpler-pause
CpuManager: simplify pausing
4 years ago
Morph
6cbe898149
yuzu_cmd: Eliminate variable shadowing
4 years ago
Morph
6e1f9fa7b8
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.
4 years ago
Morph
e647661b76
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.
4 years ago
Morph
ebf9030aa0
externals: microprofile: Eliminate variable shadowing
4 years ago
Morph
716cced399
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.
4 years ago
Morph
911eae6283
yuzu: Eliminate variable shadowing
4 years ago
Morph
56114589a6
web_service: Eliminate variable shadowing
4 years ago
Morph
9f2fca7cde
Merge pull request #8446 from liamwhite/cmd-gdb
core/debugger: support operation in yuzu-cmd
4 years ago
Morph
a9fd06479a
Merge pull request #8454 from liamwhite/inaddr-any
core/debugger: allow remote connections
4 years ago
bunnei
0cba34825d
Merge pull request #8443 from liamwhite/code-mem
kernel: fix KCodeMemory initialization
4 years ago
Liam
2328945c5a
core/debugger: allow remote connections
4 years ago
liamwhite
07c2cde188
Merge pull request #8450 from lioncash/undef
gdbstub_arch: Add missing virtual destructor
4 years ago
Lioncash
d3d5f85f98
gdbstub_arch: Add missing virtual destructor
The class is used polymorphically, so it's undefined behavior to delete
instances of GDBStubA64 and GDBStubA32 from the base class pointer.
4 years ago
Mai M
3f1dcac212
Merge pull request #8353 from Docteh/msvc_report_runtime
log the MSVC runtime version when running on MSVC build
4 years ago