Alexandre Bouvier
f385175aa2
cmake: prefer system libusb
3 years ago
Liam
7e7a23363a
vulkan_common: further initialization tweaks
3 years ago
Lioncash
eadc1ae1e7
reporter: Pass by const reference where applicable
Same behavior, but without memory churn.
3 years ago
Lioncash
e7f9f58fa4
reporter: Eliminate undefined behavior in SaveErrorReport
The optionals are unconditionally dereferenced when setting the custom
error text, and in a few cases this function is called using the default
value of the optionals.
This means we'd be dereferencing uninitialized storage.
Since they're used unconditionally, we can use value_or to set a default
when storage is uninitialized.
3 years ago
Alexandre Bouvier
e6ae720c33
cmake: use sdl2 imported target
3 years ago
Lioncash
fedd857054
applets/controller: Use aliases for callbacks
3 years ago
Lioncash
d8da9a2afd
applets/error: Use aliases for callbacks
3 years ago
Lioncash
2b40cdf04f
applets/mii_edit: Use aliases for callbacks
3 years ago
Lioncash
a84676c2aa
applets/profile_select: Use aliases for callbacks
Deduplicates callback definitions and situates it in one place.
3 years ago
Lioncash
e26c86a6e7
applets/web_browser: Use aliases for callbacks
Deduplicates a lot of long callback declarations
3 years ago
Lioncash
9bbb77637e
applets/software_keyboard: Use aliases for callbacks
Deduplicates really long std::function declarations to make the
interface nicer to read.
3 years ago
Lioncash
e4a16f50ef
emulated_controller: Remove unused parameter in GetMappedDevices()
This isn't used, so it can be removed to make the function a little
nicer.
3 years ago
Lioncash
87543b9dea
emulated_controller: Use std::move() in GetMappedDevices()
Avoids churning allocations in a loop.
3 years ago
Lioncash
7bf4b45349
emulated_console: Amend cast in SetTouch()
id is an int value, not a u32.
3 years ago
Lioncash
4255e30722
emulated_console: std::move() ParamPackages and callbacks where applicable
3 years ago
Lioncash
efa8711bf3
kernel/k_shared_memory: Ensure device_memory is always initialized
3 years ago
Lioncash
c3fd211b43
kernel/k_memory_block: Ensure members are always initialized
3 years ago
Lioncash
dcca650599
kernel/physical_core: Ensure is_interrupted is always initialized
3 years ago
Lioncash
dddc9bb8f1
kernel/thread: Ensure stack_top and argument are always initialized
3 years ago
Lioncash
4769d798f9
kernel/kernel: Ensure shutdown threads are always initialized
3 years ago
Fernando Sahmkow
6352c5dc31
Vulkan: Implement Alpha coverage
3 years ago
Narr the Reg
752236caad
input_common: Allow mifare files
3 years ago
Liam
cec3a3cd5a
service_thread: fix uninitialized memory usage
3 years ago
Alexandre Bouvier
8e17b5469f
cmake: prefer system libraries
3 years ago
Liam
0cbfdf7ecb
yuzu-cmd: link SDL2 correctly
3 years ago
Liam
157981cac5
vulkan_common: add feature test for shaderDrawParameters
3 years ago
Liam
18831e0933
vulkan_common: clean up extension usage
3 years ago
Liam
ea56d8f388
vulkan_common: correct usage of timeline semaphore fallbacks
3 years ago
Liam
f23f875dd8
vulkan_common: ensure all mandatory features are tested in feature report
3 years ago
Liam
06a67d2bbd
vulkan_common: unsuffix 16-bit storage feature test structure
3 years ago
Liam
bbc1809951
vulkan_common: unsuffix timeline semaphore feature test structure
3 years ago
Liam
a9633ba8b2
vulkan_common: add logicOp to feature report
3 years ago
Liam
7fc6514be1
vulkan_common: promote host query reset usage to core
3 years ago
Liam
e44a804ec7
vulkan_common: promote descriptor update template usage to core
3 years ago
Liam
a948ab3e48
vulkan_common: promote timeline semaphore usage to core
3 years ago
Liam
6d2c597371
externals: update dynarmic, SDL2
3 years ago
Liam
6072b22a0b
core: add option to break on unmapped access
3 years ago
Narr the Reg
a4725bcb73
service: nfc: Implement mifare service
3 years ago
Liam
3ef006b5ab
shader_recompiler: add gl_Layer translation GS for older hardware
3 years ago
Feng Chen
cb5400b34d
video_core: Fine tuning the index drawing judgment logic
3 years ago
Liam
be05cb640c
vulkan_common: quiet some validation errors
3 years ago
ameerj
5b5612c1cc
CMake: Consolidate common PCH headers
3 years ago
ameerj
3c39c0ac3e
string_util: Fix Mingw compile error
Co-Authored-By: liamwhite <9658600+liamwhite@users.noreply.github.com>
3 years ago
bunnei
8fd4e44014
audio_core: sink_stream: Hold the suspend lock when process is stalled.
- Prevents us from clashing with other callers trying to un/stall.
3 years ago
ameerj
51358d2b5e
CMake: Disable PCH on MSVC + Buildcache configs
3 years ago
Kelebek1
a78372110c
Respect render mode override
3 years ago
ameerj
37bc5118ea
CMake: Use precompiled headers
3 years ago
ameerj
cae6c13ffb
value.h: remove recursive include
3 years ago
Lioncash
b6d93b2c77
host1x/syncpoint_manager: Eliminate unnecessary std::function construction
We can just pass the function object through, and if it's a valid
function, then it will automatically be converted.
3 years ago
Lioncash
c4af7b3f5c
host1x/syncpoint_manager: Pass DeregisterAction() handle as const-ref
The handle is only compared against and not modified in any way, so we
can pass it by const reference.
This also allows us to mark the respective parameters for
DeregisterGuestAction() and DeregisterHostAction() as const references
as well.
3 years ago