Lioncash
0e7ead8b49
shader_ir: std::move node within DeclareAmend()
Same behavior, but elides an unnecessary atomic reference count
increment and decrement.
5 years ago
LC
7694cb9154
Merge pull request #5147 from comex/xx-purevirt
nvdrv: Remove useless re-declaration of pure virtual methods that were already declared in the superclass
5 years ago
LC
5afcc5fb3d
Merge pull request #5150 from comex/xx-boxcat
boxcat: Avoid unnecessary object copy
5 years ago
LC
f2ca2f4412
Merge pull request #5152 from comex/xx-override
renderer_vulkan: Add missing `override` specifier
5 years ago
LC
60ba2d11df
Merge pull request #5136 from lioncash/video-shadow3
video_core: Resolve more variable shadowing scenarios pt.3
5 years ago
LC
7aa6cf6b41
Merge pull request #5155 from comex/xx-default
Fix "explicitly defaulted but implicitly deleted" warning
5 years ago
comex
086238f1ac
Fix "explicitly defaulted but implicitly deleted" warning
`PhysicalCore`'s move assignment operator was declared as `= default`,
but was implicitly deleted because `PhysicalCore` has fields
of reference type. Switch to explicitly deleting it to avoid a Clang
warning.
The move *constructor* is still defaulted, and is required to exist due
to the use of `std::vector<PhysicalCore>`.
5 years ago
comex
2451a59949
renderer_vulkan: Add missing `override` specifier
5 years ago
comex
8e924224df
boxcat: Avoid unnecessary object copy
5 years ago
LC
03aee5c798
Merge pull request #5146 from comex/xx-num
video_core: Adjust `NUM` macro to avoid Clang warning
5 years ago
comex
e250594b6e
nvdrv: Remove useless re-declaration of pure virtual methods that were already declared in the superclass
5 years ago
comex
38f4b34610
video_core: Adjust `NUM` macro to avoid Clang warning
The previous definition was:
#define NUM(field_name) (sizeof(Maxwell3D::Regs::field_name) / sizeof(u32))
In cases where `field_name` happens to refer to an array, Clang thinks
`sizeof(an array value) / sizeof(a type)` is an instance of the idiom
where `sizeof` is used to compute an array length. So it thinks the
type in the denominator ought to be the array element type, and warns if
it isn't, assuming this is a mistake.
In reality, `NUM` is not used to get array lengths at all, so there is no
mistake. Silence the warning by applying Clang's suggested workaround
of parenthesizing the denominator.
5 years ago
Rodrigo Locatti
722001f513
Merge pull request #5143 from comex/xx-users-size
yuzu_cmd: Remove 'users_size'
5 years ago
Rodrigo Locatti
216928a60b
Merge pull request #5141 from comex/xx-true-false
maxwell_dma: Rename RenderEnable::Mode::FALSE and TRUE to avoid name conflict
5 years ago
bunnei
ee884dbd69
Merge pull request #5140 from FearlessTobi/port-5577
Port citra-emu/citra#5577 : "Update cubeb and request a persistent stream session"
5 years ago
bunnei
dbacf065f4
Merge pull request #5132 from lioncash/xbyak-abi
xbyak_abi: Avoid implicit sign conversions
5 years ago
bunnei
d6bb5cf7c7
Merge pull request #5139 from lioncash/deprecated-qt
game_list_p: Resolve deprecated usage of QVariant operator<
5 years ago
comex
20f4c9175a
maxwell_dma: Rename RenderEnable::Mode::FALSE and TRUE to avoid name conflict
On Apple platforms, FALSE and TRUE are defined as macros by
<mach/boolean.h>, which is included by various system headers.
Note that there appear to be no actual users of the names to fix up.
5 years ago
comex
278bbcb8d7
yuzu_cmd: Remove 'users_size'
Specifically:
const auto size = sdl2_config->GetInteger("System", "users_size", 0);
The variable is never used, producing a warning. I wondered if this
ought to be assigning something to in `Settings`, but nothing else in
the codebase ever mentions a setting called "users_size", so I guess
it's safe to remove...
5 years ago
Vitor Kiguchi
31a3bf1b8c
Update cubeb and request a persistent stream session
5 years ago
Lioncash
5db4785535
video_core: Resolve more variable shadowing scenarios pt.3
Cleans out the rest of the occurrences of variable shadowing and makes
any further occurrences of shadowing compiler errors.
5 years ago
Lioncash
66bb735a95
game_list_p: Resolve deprecated usage of QVariant operator<
This is designated as obsolete in Qt's docs (see:
https://doc.qt.io/qt-5/qvariant-obsolete.html#operator-lt )
5 years ago
Chloe
fe9823a520
Merge pull request #5133 from lioncash/video-shadow2
video_core: Resolve more variable shadowing scenarios pt.2
5 years ago
Lioncash
341083a5e1
video_core: Resolve more variable shadowing scenarios pt.2
Migrates the video core code closer to enabling variable shadowing
warnings as errors.
This primarily sorts out shadowing occurrences within the Vulkan code.
5 years ago
bunnei
32984bf3e1
Merge pull request #5124 from lioncash/video-shadow
video_core: Resolve more variable shadowing scenarios
5 years ago
bunnei
0c55e7820c
Merge pull request #5127 from FearlessTobi/port-5617
Port citra-emu/citra#5617 : "Fix telemetry-related exit crash from use-after-free"
5 years ago
Lioncash
50516223e3
xbyak_abi: Shorten std::size_t to size_t
Makes for less reading.
5 years ago
Lioncash
65a52ab81a
xbyak_abi: Avoid implicit sign conversions
5 years ago
LC
77e9ae1fe8
Merge pull request #5130 from ogniK5377/sys-11.0.0
system_version: Update to 11.0.0
5 years ago
Chloe Marcec
6d887d0d92
system_version: Update to 11.0.0
5 years ago
FearlessTobi
a8fce80339
Fix telemetry-related exit crash from use-after-free
Co-Authored-By: xperia64 <xperia64@users.noreply.github.com>
5 years ago
bunnei
bc92511e5b
Merge pull request #5126 from lioncash/deprecated
codec: Remove deprecated usage of AVCodecContext::refcounted_frames
5 years ago
Lioncash
4d9a8ef8f1
codec: Remove deprecated usage of AVCodecContext::refcounted_frames
This was only necessary for use with the
avcodec_decode_video2/avcoded_decode_audio4 APIs which are also
deprecated.
Given we use avcodec_send_packet/avcodec_receive_frame, this isn't
necessary, this is even indicated directly within the FFmpeg API changes
document here on 2017-09-26:
https://github.com/FFmpeg/FFmpeg/blob/master/doc/APIchanges#L410
This prevents our code from breaking whenever we update to a newer
version of FFmpeg in the future if they ever decide to fully remove this
API member.
5 years ago
Lioncash
2f181b6a90
video_core: Resolve more variable shadowing scenarios
Resolves variable shadowing scenarios up to the end of the OpenGL code
to make it nicer to review. The rest will be resolved in a following
commit.
5 years ago
bunnei
70812df905
Merge pull request #5064 from lioncash/node-shadow
node: Eliminate variable shadowing
5 years ago
bunnei
495f5b7583
Merge pull request #5061 from lioncash/pessimizing
vp9/vic: Resolve pessimizing moves
5 years ago
bunnei
c1f4f013fe
Merge pull request #4996 from bunnei/use-4jits
Kernel: Refactor to use 4-instances of Dynarmic & various cleanups and improvements
5 years ago
Lioncash
9c0408605e
node: Mark member functions as [[nodiscard]] where applicable
Prevents logic bugs from accidentally ignoring the return value.
5 years ago
Lioncash
62d77b943a
node: Eliminate variable shadowing
5 years ago
bunnei
2e5552482d
Merge pull request #5059 from lioncash/mouse
mouse_input/mouse_poller: Minor cleanup
5 years ago
Lioncash
92a5b7b388
vp9/vic: Resolve pessimizing moves
Removes the usage of moves that don't result in behavior different from
a copy, or otherwise would prevent copy elision from occurring.
5 years ago
Lioncash
8e4a23e129
mouse_poller: Remove unused includes
5 years ago
Lioncash
11e20efc1d
mouse_input: Invert conditional in UpdateYuzuSettings()
Allows the struct to be constructed in place.
5 years ago
Lioncash
f8b5b65d6b
mouse_input: Remove two casts and amend some formatting
Removes the use of two static casts and improves the readability of some
vectors slightly.
5 years ago
Lioncash
64daafbaa0
mouse_input: Resolve a -Wdocumentation warning
5 years ago
Lioncash
09b2703682
mouse_input: Remove unused includes
5 years ago
bunnei
4547af2ba5
Merge pull request #5000 from lioncash/audio-error
audio_core: Make shadowing and unused parameters errors
5 years ago
Lioncash
29db886722
audio_core: Make shadowing and unused parameters errors
Moves the audio code closer to enabling warnings as errors in general.
5 years ago
bunnei
14c58ebe23
Merge pull request #5002 from ameerj/nvdec-frameskip
nvdec: Queue and display all decoded frames, cleanup decoders
5 years ago
bunnei
eba344f859
Merge pull request #4937 from german77/multiUDP
InputCommon: Add multiple udp server support
5 years ago