Liam
cec3a3cd5a
service_thread: fix uninitialized memory usage
3 years ago
Alexandre Bouvier
8e17b5469f
cmake: prefer system libraries
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
ameerj
5b5612c1cc
CMake: Consolidate common PCH headers
3 years ago
ameerj
37bc5118ea
CMake: Use precompiled headers
3 years ago
Morph
00fdffec58
service: nifm: Update stubs for Submit/GetRequestState/GetResult
3 years ago
Liam
89dd7dc180
video_core: add null backend
3 years ago
Lioncash
25dda06f49
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
ae74f46e78
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
3020f72b0c
buffer_queue_consumer: std::move std::shared_ptr in Connect()
Avoids an unnecessary reference count increment and decrement
3 years ago
Lioncash
c0c4f6dfa6
consumer_base: Pass shared_ptr by const reference
Avoids churning atomic reference count increments and decrements.
3 years ago
Lioncash
260a495a23
consumer_base: Remove redundant virtual
override already serves this purpose
3 years ago
Lioncash
7a329ae56c
syncpoint_manager: Mark IsSyncpointAllocated() as const
This doesn't modify class state at all.
3 years ago
Lioncash
d0883027d6
syncpoint_manager: Reduce number of bounds checks
The only time we need to check bounds is on the first access.
3 years ago
Lioncash
ad787b20ca
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
780ae92265
core/hid/emulated_controller: Use ranges version of transform
Makes the transform calls much nicer to read.
3 years ago
Lioncash
2ec7d0b5fd
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
2956a33463
Vulkan: update initialization
Co-authored-by: bylaws <bylaws@users.noreply.github.com>
3 years ago
german77
a67e776af9
yuzu-cmd: Fix input callback crash on close
3 years ago
Valeri
278c0e6e8d
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
8f6245be9a
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
97f273e94e
service: Make use of buffer element count helpers
3 years ago
Lioncash
59335f6796
hle_ipc: Add helper functions for getting number of buffer elements
3 years ago
Lioncash
c31f19b6d1
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
9737615948
general: fix compile for Apple Clang
3 years ago
Lioncash
8d99aae45b
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
9efdad6a27
Configuration: Add per-game input profiles
3 years ago
Liam
eb0713f781
dmnt:cht: fix copy-paste error
3 years ago
Narr the Reg
327d225c3e
service: nfc: Implement nfc user
3 years ago
german77
aa075a0c08
service: hid: Only overclock npad controllers
3 years ago
Narr the Reg
38c48cf8d8
core: hid: Implement true multitouch support
3 years ago
Fernando Sahmkow
bc95753107
Dynarmic: Remove inaccurate NaN from Auto CPU settings.
3 years ago
Liam
cf202f3718
nvnflinger: fix lost wakeup
3 years ago
Narr the Reg
18fcc03b3c
core: Update result module
3 years ago
Kyle Kienapfel
6fa3faec65
Add break for default cases
Visual Studio has an option to search all files in a solution, so I
did a search in there for "default:" looking for any missing break
statements.
I've left out default statements that return something, and that throw
something, even if via ThrowInvalidType. UNREACHABLE leads towards throw
R_THROW macro leads towards a return
3 years ago
german77
75e6ec85e1
general: Address review comments
3 years ago
german77
a253d1557d
service: am: Fix cabinet applet result
3 years ago
german77
fb57cd26a1
service: am: Implement cabinet applet backend
3 years ago
german77
6c045c9beb
service: nfc: fix tagprotocol and implement GetApplicationAreaId
3 years ago
Liam
651f6598ac
kernel: implement FlushProcessDataCache
3 years ago
bunnei
0d6a8824d0
hle: service: audio: Use default service thread.
- This was arbitrarily added by me, and does not appear to be helpful.
3 years ago
Liam
18123ff958
gdbstub: add ams monitor commands
3 years ago
Liam
ceb829cc33
debugger: allow more than one connection attempt per session
3 years ago
Liam
b34d3d5882
service_thread: remove explicit KProcess
3 years ago
Liam
4eece4d35d
kernel/svc_types: refresh
3 years ago
Liam
cbaf642ffe
Initial ARM64 support
3 years ago
Liam
71c0e20f95
Ensure correctness of atomic store ordering
3 years ago
Liam
6a0d8b2aa1
service_thread: fix deletion
3 years ago