bunnei
de522657dd
hle: kernel: Migrate to KScopedSchedulerLock.
5 years ago
bunnei
61e017a026
hle: kernel: Separate KScopedSchedulerLockAndSleep from k_scheduler.
5 years ago
bunnei
4f16c961c9
hle: kernel: Separate KScheduler from GlobalSchedulerContext class.
5 years ago
bunnei
039844bbb9
hle: kernel: Rewrite scheduler implementation based on Mesopshere.
5 years ago
bunnei
abc079aca1
hle: kernel: physical_core: Clear exclusive state after each run.
- This is closer to pre-multicore behavior, and works a bit better.
5 years ago
bunnei
1ffab4019b
hle: kernel: Port KAbstractSchedulerLock from Mesosphere.
5 years ago
bunnei
0c9f4d749c
hle: kernel: svc: Remove reschedule on svcBreak.
- This breaks things, and is unnecessary, since emulation will be done at this point.
5 years ago
bunnei
cd66ac3af5
hle: kernel: process: Add schedule count tracking, to be used for yield impl.
5 years ago
bunnei
5f00b01a5d
hle: kernel: svc: Remove unnecessary hack in svcSleep.
5 years ago
bunnei
11e7b74858
common: Port KPriorityQueue from Mesosphere.
5 years ago
bunnei
b164f6306b
common: Port BitSet from Mesosphere.
5 years ago
bunnei
ba09b4d69d
hle: kernel: Port KAffinityMask from Mesosphere.
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
Morph
6efd390668
applets: Resolve variable shadowing
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
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
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
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
Morph
ce2a7beb05
nim: Stub IsLargeResourceAvailable
- Used by Immortals Fenyx Rising
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
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
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
german
544417cd49
Fix implicit conversion in mouse input
5 years ago
lat9nq
400c97825e
Disable web applet and warning when compiling for Linux on CI
yuzu's web applet does not or barely reacts to user input while open in
Linux. It can be closed via 'Exit Web Applet' on the menubar, however if
yuzu is in fullscreen, this is effectively a softlock as the menubar
cannot be accessed.
This disables building yuzu with the web applet on the Linux CI target.
In addition, this disables the QMessageBox warning about not having
compiled yuzu with the web applet.
5 years ago
bunnei
3edaafa295
kernel: scheduler: Minor cleanup to remove duplicated code.
5 years ago
bunnei
64cb411dda
kernel: time_manager: Protect access with a mutex.
5 years ago
bunnei
05ff3e467e
common: fiber: Use VirtualBuffer for stack memory.
- This will be aligned by default, and helps memory usage.
5 years ago
bunnei
b2de57e93e
hle: kernel: thread: Remove unused "Running" state.
5 years ago
bunnei
a5b73195c9
core: arm: Implement InvalidateCacheRange for CPU cache invalidation.
5 years ago
bunnei
5114c6f3ac
hle: kernel: time_manager: Avoid a crash on process exit.
5 years ago
bunnei
026a8dd832
hle: kernel: AddressArbiter: Remove unused code.
5 years ago
bunnei
e7c2a66ecd
hle: kernel: SynchronizationObject: Use atomic_bool for is_signaled.
5 years ago
bunnei
b92d8acd2f
common: fiber: Use boost::context instead of native fibers on Windows.
5 years ago
bunnei
aaffe73f47
hle: kernel: multicore: Replace n-JITs impl. with 4 JITs.
5 years ago
german
2a93b187a6
Add missing types to NpadCommunicationMode
5 years ago
Chloe Marcec
35f0c8e80e
audio_core: Remove temp_mix_buffer
It's unused and doesn't need to be initialized
5 years ago
comex
674da91842
CMakeLists: disable -Winvalid-offsetof
This Clang warning complains when offsetof is used on a
non-standard-layout type (i.e. any class using various C++ features),
even though it works fine (and is not undefined behavior as of C++17).
5 years ago