Lioncash
1ad43e68da
configure_graphics: Make SPIRV backend string translatable
The parenthetical needs to be translatable, like with GLASM
3 years ago
Alexandre Bouvier
87fef2c12c
cmake: prefer system libusb
3 years ago
Liam
d50abc6a9c
vulkan_common: further initialization tweaks
3 years ago
Lioncash
6922ed4fad
reporter: Pass by const reference where applicable
Same behavior, but without memory churn.
3 years ago
Lioncash
97fd619312
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
75f9183846
cmake: use sdl2 imported target
3 years ago
Lioncash
a3e4ad2cf5
applets/controller: Use aliases for callbacks
3 years ago
Lioncash
038b746678
applets/error: Use aliases for callbacks
3 years ago
Lioncash
a346b1270a
applets/mii_edit: Use aliases for callbacks
3 years ago
Lioncash
259307a152
applets/profile_select: Use aliases for callbacks
Deduplicates callback definitions and situates it in one place.
3 years ago
Lioncash
5012cd2057
applets/web_browser: Use aliases for callbacks
Deduplicates a lot of long callback declarations
3 years ago
Lioncash
047c256fe4
applets/software_keyboard: Use aliases for callbacks
Deduplicates really long std::function declarations to make the
interface nicer to read.
3 years ago
Lioncash
7a349e99ee
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
68d9621a8b
emulated_controller: Use std::move() in GetMappedDevices()
Avoids churning allocations in a loop.
3 years ago
Lioncash
1c9f02790c
emulated_console: Amend cast in SetTouch()
id is an int value, not a u32.
3 years ago
Lioncash
53eb9406f0
emulated_console: std::move() ParamPackages and callbacks where applicable
3 years ago
Lioncash
7ed6f9d6fd
kernel/k_shared_memory: Ensure device_memory is always initialized
3 years ago
Lioncash
0435142f58
kernel/k_memory_block: Ensure members are always initialized
3 years ago
Lioncash
4c5de31093
kernel/physical_core: Ensure is_interrupted is always initialized
3 years ago
Lioncash
6fea145402
kernel/thread: Ensure stack_top and argument are always initialized
3 years ago
Lioncash
8b8320be4a
kernel/kernel: Ensure shutdown threads are always initialized
3 years ago
Fernando Sahmkow
7a7235b961
Vulkan: Implement Alpha coverage
3 years ago
Narr the Reg
2679dc707e
input_common: Allow mifare files
3 years ago
Liam
4a65ee47d3
service_thread: fix uninitialized memory usage
3 years ago
Alexandre Bouvier
325a016cd2
cmake: prefer system libraries
3 years ago
Liam
e5ecad8824
yuzu-cmd: link SDL2 correctly
3 years ago
Liam
ee4e09128f
vulkan_common: add feature test for shaderDrawParameters
3 years ago
Liam
88ee9ef9ba
vulkan_common: clean up extension usage
3 years ago
Liam
b656f90c11
vulkan_common: correct usage of timeline semaphore fallbacks
3 years ago
Liam
f848103437
vulkan_common: ensure all mandatory features are tested in feature report
3 years ago
Liam
8db4f8593c
vulkan_common: unsuffix 16-bit storage feature test structure
3 years ago
Liam
d2299ce7d8
vulkan_common: unsuffix timeline semaphore feature test structure
3 years ago
Liam
e46525c84f
vulkan_common: add logicOp to feature report
3 years ago
Liam
540a841351
vulkan_common: promote host query reset usage to core
3 years ago
Liam
f165ae4daf
vulkan_common: promote descriptor update template usage to core
3 years ago
Liam
63b830fd41
vulkan_common: promote timeline semaphore usage to core
3 years ago
Liam
8fbec5d298
externals: update dynarmic, SDL2
3 years ago
Narr the Reg
dbfc2f7ee2
service: nfc: Implement mifare service
3 years ago
Liam
e8966fd1f9
shader_recompiler: add gl_Layer translation GS for older hardware
3 years ago
Feng Chen
f7e82d2fd6
video_core: Fine tuning the index drawing judgment logic
3 years ago
ameerj
fb155dbffc
CMake: Consolidate common PCH headers
3 years ago
ameerj
04a6ddddfb
string_util: Fix Mingw compile error
Co-Authored-By: liamwhite <9658600+liamwhite@users.noreply.github.com>
3 years ago
bunnei
9ac846fece
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
7af574ff01
CMake: Disable PCH on MSVC + Buildcache configs
3 years ago
Kelebek1
bb10e5e6eb
Respect render mode override
3 years ago
ameerj
bbf3e7f313
CMake: Use precompiled headers
3 years ago
ameerj
8a22e21d6d
value.h: remove recursive include
3 years ago
Lioncash
225f5ba19f
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
b03305859e
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
Lioncash
a3ed3c8340
maxwell_3d: Mark shifted value as unsigned
Otherwise this is technically creating a signed int result that gets
converted. Just a consistency change.
While we're in the area, we can mark Samples() as const.
3 years ago