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
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
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
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
comex
f2a06c61d6
tests: Fix warning about comparison between signed and unsigned
5 years ago
Lioncash
c06510376a
core: Eliminate remaining usages of the global system instance
Removes all remaining usages of the global system instance. After this,
migration can begin to migrate to being constructed and managed entirely
by the various frontends.
5 years ago
Lioncash
acf893542a
savedata_factory: Eliminate usage of the global system instance
Now there's only two meaningful instances left in core.
5 years ago
german
d9d2a0aac7
Stub set and get NpadCommunicationMode
5 years ago
Lioncash
346271b80b
service: Eliminate usages of the global system instance
Completely removes all usages of the global system instance within the
services code by passing in the using system instance to the services.
5 years ago
comex
200a0bf755
codec: Fix `pragma GCC diagnostic pop` missing corresponding push
5 years ago
ReinUsesLisp
fe1efa971f
vk_shader_decompiler: Implement force early fragment tests
Force early fragment tests when the 3D method is enabled.
The established pipeline cache takes care of recompiling if needed.
This is implemented only on Vulkan to avoid invalidating the shader
cache on OpenGL.
5 years ago
Lioncash
064f17c5b1
core: Reduce string copies in GetGameFileFromPath()
Eliminates some minor string churn where applicable. Also eliminates an
unnecessary vector copy.
5 years ago
ameerj
0a89ea1ca7
Limit queue size to 10 frames
Workaround for ZLA, which seems to decode and queue twice as many frames as it displays.
5 years ago