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
Liam
4a65ee47d3
service_thread: fix uninitialized memory usage
3 years ago
Alexandre Bouvier
325a016cd2
cmake: prefer system libraries
3 years ago
Liam
8fbec5d298
externals: update dynarmic, SDL2
3 years ago
Liam
dfc09df118
core: add option to break on unmapped access
3 years ago
Narr the Reg
dbfc2f7ee2
service: nfc: Implement mifare service
3 years ago
ameerj
fb155dbffc
CMake: Consolidate common PCH headers
3 years ago
ameerj
bbf3e7f313
CMake: Use precompiled headers
3 years ago
Morph
7ba644dc5d
service: nifm: Update stubs for Submit/GetRequestState/GetResult
3 years ago
Liam
acc4a150ef
video_core: add null backend
3 years ago
Lioncash
ccec899cd8
producer_listener: Add virtual destructor to IProducerListener
Several member variables are shared_ptr's to this base class. Even
though producer listeners are still unimplemented, this ensures we
always have consistent deletion behavior once this ends up being used
polymorphically.
3 years ago
Lioncash
93f287c79b
buffer_item_consumer: Pass fence by const-ref in ReleaseBuffer()
This isn't directly modified.
Also allows rvalues to be used with it.
3 years ago
Lioncash
7d9d432ff4
buffer_queue_consumer: std::move std::shared_ptr in Connect()
Avoids an unnecessary reference count increment and decrement
3 years ago
Lioncash
f5def4b9c5
consumer_base: Pass shared_ptr by const reference
Avoids churning atomic reference count increments and decrements.
3 years ago
Lioncash
bde42f6767
consumer_base: Remove redundant virtual
override already serves this purpose
3 years ago
Lioncash
eb1bdc5ed4
syncpoint_manager: Mark IsSyncpointAllocated() as const
This doesn't modify class state at all.
3 years ago
Lioncash
8409b91f2e
syncpoint_manager: Reduce number of bounds checks
The only time we need to check bounds is on the first access.
3 years ago
Lioncash
e621ee9ec6
nvdrv: Simplify builder declarations
We can just use auto here. If one of these ever happens to not be
derived from nvdevice, then this will cause a compilation error.
We can also move the devices into the collection to get rid of an
unnecessary atomic reference count increment and decrement.
3 years ago
Lioncash
a9892677ed
core/hid/emulated_controller: Use ranges version of transform
Makes the transform calls much nicer to read.
3 years ago
Lioncash
0862aabdc6
common/input: Add helpers functions for creating input and output devices
Avoids the redundancy of needing to explictly specify the common
namespace and the type.
3 years ago
Liam
0a077cb467
Vulkan: update initialization
Co-authored-by: bylaws <bylaws@users.noreply.github.com>
3 years ago
german77
23d7d8b9df
yuzu-cmd: Fix input callback crash on close
3 years ago
Valeri
e9fb4a65b9
crypto: use user-provided keys whenever possible
Solves an issue where autogenerated title keys would take precedence over those provided by user.
3 years ago
bunnei
94ee753735
core: Use atomic instead of a lock to protect is_paused.
- This allows us to call IsPaused() elsewhere if we are holding the suspend lock.
3 years ago
Lioncash
8c35c8c4a6
service: Make use of buffer element count helpers
3 years ago
Lioncash
ff19204dc6
hle_ipc: Add helper functions for getting number of buffer elements
3 years ago
Lioncash
ce329764a2
hle_ipc: Mark relevant member functions as [[nodiscard]]
Will allow the compiler to complain about cases where ignoring the
return value would be a bug.
3 years ago
Liam
5a712bb51a
general: fix compile for Apple Clang
3 years ago
Lioncash
71d5db9354
k_handle_table: Remove cast to void* in GetObjectForIpc
This was used to get around the KProcess class being incomplete. We can
just move this to the cpp file and eliminate the cast entirely, letting
the compiler do its work.
3 years ago
ameerj
19ca666e9f
Configuration: Add per-game input profiles
3 years ago
Liam
9c69743686
dmnt:cht: fix copy-paste error
3 years ago
Narr the Reg
5c134b62bd
service: nfc: Implement nfc user
3 years ago
german77
1cf625b6c6
service: hid: Only overclock npad controllers
3 years ago
Narr the Reg
8e0e45dcb9
core: hid: Implement true multitouch support
3 years ago
Fernando Sahmkow
ee4b6380b9
Dynarmic: Remove inaccurate NaN from Auto CPU settings.
3 years ago
Liam
14292b4067
nvnflinger: fix lost wakeup
3 years ago