comex
d637114c17
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.
4 years ago
Rodrigo Locatti
7e5f595b31
Merge pull request #5143 from comex/xx-users-size
...
yuzu_cmd: Remove 'users_size'
4 years ago
Rodrigo Locatti
88959b0047
Merge pull request #5141 from comex/xx-true-false
...
maxwell_dma: Rename RenderEnable::Mode::FALSE and TRUE to avoid name conflict
4 years ago
bunnei
dd05c7ec79
Merge pull request #5140 from FearlessTobi/port-5577
...
Port citra-emu/citra#5577 : "Update cubeb and request a persistent stream session"
4 years ago
bunnei
53a04d6b5d
Merge pull request #5132 from lioncash/xbyak-abi
...
xbyak_abi: Avoid implicit sign conversions
4 years ago
bunnei
c67c25db05
Merge pull request #5139 from lioncash/deprecated-qt
...
game_list_p: Resolve deprecated usage of QVariant operator<
4 years ago
bunnei
1bdb756d28
hle: kernel: Process: Various style fixes based on code review feedback.
4 years ago
bunnei
d4ae0ae0e9
core: cpu_manager: Fix a typo in PreemptSingleCore, which broke many games.
...
- We were reload'ing the old current scheduler, which may have changed.
4 years ago
bunnei
9b492430bb
hle: kernel: Thread: Various style fixes based on code review feedback.
4 years ago
bunnei
ed4d1e2ade
hle: kernel: KScopedSchedulerLockAndSleep: Various style fixes based on code review feedback.
4 years ago
bunnei
b1b4f2337e
hle: kernel: KScopedLock: Various style fixes based on code review feedback.
4 years ago
bunnei
165d8485f0
hle: kernel: KAbstractSchedulerLock: Various style fixes based on code review feedback.
4 years ago
bunnei
960500cfd2
hle: kernel: KScheduler: Various style fixes based on code review feedback.
4 years ago
bunnei
8fd921557f
hle: kernel: KPriorityQueue: Various style fixes based on code review feedback.
4 years ago
bunnei
4d3be1816c
hle: kernel: KAffinityMask: Various style fixes based on code review feedback.
4 years ago
bunnei
357d79fb6e
hle: kernel: GlobalSchedulerContext: Various style fixes based on code review feedback.
4 years ago
bunnei
d2c0c94f0b
common: BitSet: Various style fixes based on code review feedback.
4 years ago
bunnei
b1326d9230
hle: kernel: Use C++ style comments in KScheduler, etc.
4 years ago
bunnei
bc59ca92b6
kernel: KScopedSchedulerLockAndSleep: Remove unused ctor.
4 years ago
bunnei
b9b7e4f915
kernel: time_manager: Add missing lock guards.
4 years ago
bunnei
ccce6cb3be
hle: kernel: Migrate to KScopedSchedulerLock.
4 years ago
bunnei
4756cb203e
hle: kernel: Separate KScopedSchedulerLockAndSleep from k_scheduler.
4 years ago
bunnei
8d3e06349e
hle: kernel: Separate KScheduler from GlobalSchedulerContext class.
4 years ago
bunnei
9e29e36a78
hle: kernel: Rewrite scheduler implementation based on Mesopshere.
4 years ago
bunnei
c10a37e5b6
hle: kernel: physical_core: Clear exclusive state after each run.
...
- This is closer to pre-multicore behavior, and works a bit better.
4 years ago
bunnei
7e5d0f1fe3
hle: kernel: Port KAbstractSchedulerLock from Mesosphere.
4 years ago
bunnei
39d356782e
hle: kernel: svc: Remove reschedule on svcBreak.
...
- This breaks things, and is unnecessary, since emulation will be done at this point.
4 years ago
bunnei
d58a609ae4
hle: kernel: process: Add schedule count tracking, to be used for yield impl.
4 years ago
bunnei
493263f415
hle: kernel: svc: Remove unnecessary hack in svcSleep.
4 years ago
bunnei
a3ccac3eb7
common: Port KPriorityQueue from Mesosphere.
4 years ago
bunnei
8dbfa4e1a4
common: Port BitSet from Mesosphere.
4 years ago
bunnei
e18ee8d681
hle: kernel: Port KAffinityMask from Mesosphere.
4 years ago
comex
a6e6cd5788
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.
4 years ago
comex
9dc69fa07c
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...
4 years ago
Vitor Kiguchi
a1e7360273
Update cubeb and request a persistent stream session
4 years ago
Lioncash
f95602f152
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.
4 years ago
Lioncash
c277d7d171
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 )
4 years ago
Morph
f6d4a289d5
applets: Resolve variable shadowing
4 years ago
Chloe
f2f346e110
Merge pull request #5133 from lioncash/video-shadow2
...
video_core: Resolve more variable shadowing scenarios pt.2
4 years ago
Lioncash
414a87a4f4
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.
4 years ago
bunnei
e6a896c4bd
Merge pull request #5124 from lioncash/video-shadow
...
video_core: Resolve more variable shadowing scenarios
4 years ago
bunnei
63419e144f
Merge pull request #5127 from FearlessTobi/port-5617
...
Port citra-emu/citra#5617 : "Fix telemetry-related exit crash from use-after-free"
4 years ago
Lioncash
2c375013dd
xbyak_abi: Shorten std::size_t to size_t
...
Makes for less reading.
4 years ago
Lioncash
b126267442
xbyak_abi: Avoid implicit sign conversions
4 years ago
LC
2a928d7492
Merge pull request #5130 from ogniK5377/sys-11.0.0
...
system_version: Update to 11.0.0
4 years ago
Chloe Marcec
7fbeb489d3
system_version: Update to 11.0.0
4 years ago
FearlessTobi
37d672bf08
Fix telemetry-related exit crash from use-after-free
...
Co-Authored-By: xperia64 <xperia64@users.noreply.github.com>
4 years ago
bunnei
1c8de85045
Merge pull request #5126 from lioncash/deprecated
...
codec: Remove deprecated usage of AVCodecContext::refcounted_frames
4 years ago
Lioncash
94af77aa7c
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.
4 years ago
Lioncash
677a8b208d
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.
4 years ago