Lioncash
76c9d3318f
configure_input_player: std::move input setters in HandleClick
4 years ago
Lioncash
3379694d32
configure_input_player: Avoid unnecessary ParamPackage copies
Avoids churning allocations.
4 years ago
Lioncash
b68dc14188
yuzu/game_list: Use non-deprecated version of QString's split() function
The previous overload of split() was deprecated in 5.14.
4 years ago
Lioncash
765762c3a7
common/file: Remove [[nodiscard]] from Open()
Since this has a void return value, there's nothing that can actually be
used.
4 years ago
Lioncash
6f2a095c9f
video_core/shader_cache: Remove unused algorithm include
4 years ago
Lioncash
274babc929
video_core/shader_cache: Take std::span in RemoveShadersFromStorage()
Same behavior, but without the need to move into the function to avoid
an allocation.
4 years ago
Narr the Reg
33594225c7
svc: Add 32 bit SynchronizePreemptionState
Used by Espgaluda II
4 years ago
Fernando Sahmkow
9ebf1c00bd
Rasterizer: Refactor inlineToMemory.
4 years ago
Fernando Sahmkow
d14f1c9d42
GPU: Improve syncing.
4 years ago
Fernando Sahmkow
19270ae4e6
Rasterizer: Implement Inline2Memory Acceleration.
4 years ago
Fernando Sahmkow
4a3a7673b7
Inline2Memory: Flush before writting buffer.
4 years ago
ameerj
c3d768426c
spirv_atomic: Define U32x2 storage buffers for 64-bit storage atomics
Some drivers do not support 64-bit atomics, and fallback to atomically modifying U32x2 vectors. This change ensures that U32x2 storage vectors are defined in the spir-v shader when 64-bit atomics are used.
Fixes a hang on some devices, notably Intel GPUs, when booting Pokemon Legends Arceus
4 years ago
ameerj
712b7883be
emit_spirv: Add Xfb execution mode when transform feedback is used
Fixes Transform Feedback on Vulkan AMD drivers.
4 years ago
german77
c092488c53
wall_clock: use standard wall clock if rtsc frequency is too low
4 years ago
ameerj
9bffee169b
buffer_cache: Reduce stream buffer allocations when expanding from the left
The existing stream buffer optimization accounts for size increases at the end of the allocated buffer.
This adds the same optimization, increasing the size from the beginning of the buffer as well to reduce buffer allocations when expanding the same buffer from the left.
4 years ago
bunnei
1b8ed3a76d
hle: kernel: KScheduler: Fix deadlock with core waiting for a thread lock that has migrated.
- Previously, it was possible for a thread migration to occur from core A to core B.
- Next, core B waits on a guest lock that must be released by a thread queued for core A.
- Meanwhile, core A is still waiting on the core B's current thread lock - resulting in a deadlock.
- Fix this by try-locking the thread lock.
- Fixes softlocks in FF8 and Pokemon Legends Arceus.
4 years ago
ameerj
4ee80ce807
video_minimum_maximum: Implement src operand selectors
Used by Pokemon Legends: Arceus
4 years ago
Narr the Reg
9ea465d958
input_common: Add DS5 to HD rumble list
4 years ago
Lioncash
1d5b635601
common/xbyak_api: Make BuildRegSet() constexpr
This allows us to eliminate any static constructors that would have been
emitted due to the function not being constexpr.
4 years ago
Lioncash
ebc41b3af6
video_core/macro: Add missing <cstring> header
Necessary since memcpy is used.
4 years ago
Lioncash
e7242491a4
video_core/macro_interpreter: Move impl class to the cpp file
Keeps the implementation hidden from the intended API and lessens the
header dependencies on the interpreter's header.
4 years ago
Lioncash
6950d969aa
video_core/macro_hle: Return unique_ptr directly from GetHLEProgram()
Same behavior, but less code and header dependencies.
4 years ago
Lioncash
65e617754f
video_core/macro: Remove unused parameter from Execute()
Simplifies the function interface.
4 years ago
Lioncash
791b988d07
video_core/macro_jit_x64: Remove unused impl class member
Reduces the size of the impl class a tiny bit.
4 years ago
Lioncash
9a802c7a09
video_core/macro_jit_x64: Decouple PersistentCallerSavedRegs() from impl
This doesn't depend on class state and can just be a regular function.
4 years ago
Lioncash
0b91a77ccc
video_core/macro_jit_x64: Move impl class into cpp file
Keeps the implementation internalized and also reduces API-facing header
dependencies.
Notably, this fully internalizes all of the xbyak externals.
4 years ago
Lioncash
e3025b8fb9
video_core/macro_hle: Move impl class into cpp file
Given it's intended to be an internal implementation class, we can move
it into the cpp file to ensure that.
This also lets us move some header dependencies into the cpp file as
well.
4 years ago
Lioncash
4d8010eee3
gpu: Tidy up forward declarations
Over time a few forward declarations became unnecessary, so we can
remove these to tidy up the header a little bit.
4 years ago
Lioncash
4c5c860587
gpu: Remove obsoleted CDMAPusher() accessors
These were obsoleted in 10cc89bfdf but
were accidentally overlooked.
4 years ago
Lioncash
4272d239b6
vk_fsr: Replace comma operator with semicolon
Generally, we should be ending statements with a semicolon not a comma
Resolves a clang diagnostic.
4 years ago
Lioncash
4ea21f074d
shader_recompiler: Remove unnecessary [[nodiscard]]
Since ConvertLegacyToGeneric has a void return value, there's nothing
that is actually returned by the function.
4 years ago
Lioncash
18c2bd5c12
input_common/input_engine: Ensure PadIdentifier UUIDs have a valid initial state
The default constructor of a UUID instance doesn't initialize the
underlying array.
4 years ago
Lioncash
f02a9e4d81
input_common/input_mapping: Simplify UUID validity checks
Makes the checks a little more intuitive to read and doesn't construct
an extra UUID instance
4 years ago
Lioncash
04a33bc652
input_common/input_mapping: Add missing includes
Ensures that the class always sees the types it needs.
4 years ago
Lioncash
cec9e4ec77
input_common/input_mapping: Remove const from return value
Top-level const on a return by value can inhibit move semantics, and is
unnecessary.
4 years ago
Lioncash
5f80c764b0
input_common/input_mapping: Default constructor
4 years ago
Lioncash
1bd76dcb77
input_common/main: Pass MappingData by const reference in callbacks
Avoids creating unnecessary 168 byte copies per callback invocation.
4 years ago
Lioncash
feb5b56356
input_common/udp_client: Replace deprecated from_string()/to_ulong() functions
These are deprecated and make_address variants and to_uint() should be used instead.
4 years ago
Lioncash
de967b3967
input_common/udp_client: Prevent unnecessary string copies
We can also remove some redundant const on the return values, since
these don't do anything
4 years ago
Lioncash
1e57fbe71d
kernel/k_affinity_mask: Remove duplicated assert
This is already checked inside GetCoreBit()
4 years ago
german77
1fca7203d3
input_common: Add option to configure gyro threshold
4 years ago
german77
47ca44ad1d
yuzu: Add setting to disable controller navigation
4 years ago
Moonlacer
71ae167f3a
Update FSR to 1.0.2
Updates yuzu's FSR implementation to 1.0.2
4 years ago
bunnei
a2731424a6
hle: kernel: KThread: Improve Increment/Decrement RunningThreadCount.
- Previously implementation was incorrect, and would occasionally underflow.
4 years ago
bunnei
912b6b9ef4
core: hle: kernel: KPageTable: Various improvements to MapPages and UnmapPages.
4 years ago
bunnei
c46f07a62a
core: hle: kernel: KPageTable: MapProcessCode: Various cleanup.
4 years ago
bunnei
4f848b6f68
core: hle: kernel: KPageTable: ReserveTransferMemory: Various cleanup.
4 years ago
bunnei
bf904afa0f
core: hle: kernel: KPageTable: ResetTransferMemory: Various cleanup.
4 years ago
bunnei
1b3dd42de4
core: hle: kernel: KPageTable: SetMemoryAttribute: Various cleanup.
4 years ago
bunnei
05918a20c3
core: hle: kernel: KPageTable: Assert valid address on GetPhysicalAddr.
4 years ago