bunnei
9e29e36a78
hle: kernel: Rewrite scheduler implementation based on Mesopshere.
5 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.
5 years ago
bunnei
7e5d0f1fe3
hle: kernel: Port KAbstractSchedulerLock from Mesosphere.
5 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.
5 years ago
bunnei
d58a609ae4
hle: kernel: process: Add schedule count tracking, to be used for yield impl.
5 years ago
bunnei
493263f415
hle: kernel: svc: Remove unnecessary hack in svcSleep.
5 years ago
bunnei
a3ccac3eb7
common: Port KPriorityQueue from Mesosphere.
5 years ago
bunnei
8dbfa4e1a4
common: Port BitSet from Mesosphere.
5 years ago
bunnei
e18ee8d681
hle: kernel: Port KAffinityMask from Mesosphere.
5 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.
5 years ago
Chloe Marcec
7fbeb489d3
system_version: Update to 11.0.0
5 years ago
FearlessTobi
37d672bf08
Fix telemetry-related exit crash from use-after-free
Co-Authored-By: xperia64 <xperia64@users.noreply.github.com>
5 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.
5 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.
5 years ago
Lioncash
edd8208779
node: Mark member functions as [[nodiscard]] where applicable
Prevents logic bugs from accidentally ignoring the return value.
5 years ago
Lioncash
7cf34c3637
node: Eliminate variable shadowing
5 years ago
Lioncash
cf9767c608
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
424bffcd3f
mouse_poller: Remove unused includes
5 years ago
Lioncash
16aadcc354
mouse_input: Invert conditional in UpdateYuzuSettings()
Allows the struct to be constructed in place.
5 years ago
Lioncash
395997178b
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
5842a767a9
mouse_input: Resolve a -Wdocumentation warning
5 years ago
Lioncash
774d7eab64
mouse_input: Remove unused includes
5 years ago
Lioncash
1ea6bdef05
audio_core: Make shadowing and unused parameters errors
Moves the audio code closer to enabling warnings as errors in general.
5 years ago
german
ece0ae2bfb
Fix implicit conversion in mouse input
5 years ago
lat9nq
756225c8ff
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
4b9e1b6586
kernel: scheduler: Minor cleanup to remove duplicated code.
5 years ago
bunnei
b7ef581c6e
kernel: time_manager: Protect access with a mutex.
5 years ago
bunnei
24cae76d16
common: fiber: Use VirtualBuffer for stack memory.
- This will be aligned by default, and helps memory usage.
5 years ago
bunnei
c2ad1243ba
hle: kernel: thread: Remove unused "Running" state.
5 years ago
bunnei
63fd1bb503
core: arm: Implement InvalidateCacheRange for CPU cache invalidation.
5 years ago
bunnei
c0870315fd
hle: kernel: time_manager: Avoid a crash on process exit.
5 years ago
bunnei
9705f651b2
hle: kernel: AddressArbiter: Remove unused code.
5 years ago
bunnei
9423347c1b
hle: kernel: SynchronizationObject: Use atomic_bool for is_signaled.
5 years ago
bunnei
c042a89113
common: fiber: Use boost::context instead of native fibers on Windows.
5 years ago
bunnei
7b642c7781
hle: kernel: multicore: Replace n-JITs impl. with 4 JITs.
5 years ago
german
4eb7327559
Add missing types to NpadCommunicationMode
5 years ago
Chloe Marcec
d7019d8307
audio_core: Remove temp_mix_buffer
It's unused and doesn't need to be initialized
5 years ago
comex
32f3b6b865
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
3dc310bd52
tests: Fix warning about comparison between signed and unsigned
5 years ago
Lioncash
5bc4eabe36
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
073e07ae2d
savedata_factory: Eliminate usage of the global system instance
Now there's only two meaningful instances left in core.
5 years ago
german
3898d8f0d7
Stub set and get NpadCommunicationMode
5 years ago
Lioncash
1a954b2a59
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
4681e1ea9e
codec: Fix `pragma GCC diagnostic pop` missing corresponding push
5 years ago
ReinUsesLisp
2ccf85a910
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
9d3d0ae999
core: Reduce string copies in GetGameFileFromPath()
Eliminates some minor string churn where applicable. Also eliminates an
unnecessary vector copy.
5 years ago
ameerj
979b602738
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
german
e46f0e084c
Implement full mouse support
5 years ago
german
2c2b586d86
Add multiple udp server support
5 years ago
ameerj
c9e3abe206
Address PR feedback
remove some redundant moves, make deleter match naming guidelines.
Co-Authored-By: LC <712067+lioncash@users.noreply.github.com>
5 years ago