Narr the Reg
1c08d532e0
core: hid: Fix input regressions
3 years ago
Narr the Reg
36d5e0a411
service: hid: Set led pattern and fix color detection
3 years ago
Narr the Reg
a4074001fe
core: hid: Migrate ring from emulated devices to emulated controller
3 years ago
Liam
2f2ef5b147
nvnflinger: correct swap interval handling
3 years ago
german77
80bcc18788
service: nifm: Initialize request state
3 years ago
german77
ebd811b535
service: nifm: Match documentation names
3 years ago
ameerj
a1490d77ac
hle_ipc: Rename ReadBufferSpan to ReadBuffer
3 years ago
ameerj
59c0f85407
hle_ipc: Rename ReadBuffer to ReadBufferCopy
Indicates explicitly that a copy is occurring
3 years ago
ameerj
7c1bf68bb4
bsd: Use std::span for read payloads
Allows the use of HLERequestContext::ReadBufferSpan
3 years ago
ameerj
f517f82416
nvdrv: Use std::span for inputs
Allows the use of HLERequestContext::ReadBufferSpan
3 years ago
ameerj
e7032d9e64
hidbus: Use ReadBufferSpan
3 years ago
ameerj
32d01a39b0
nvflinger: Split Parcel class into InputParcel and OutputParcel
The usages of the Parcel class were already unique to either Read or Write operations.
Avoids needing a vector of the input payload for the InputParcel use-case, instead it can remain as a span.
3 years ago
ameerj
7ffd624248
service: Use ReadBufferSpan where it is trivial to do so
3 years ago
ameerj
fbc375f0de
fsp_srv: Use ReadBufferSpan
3 years ago
Liam
80670a5b6c
time: add LockFreeAtomicType
3 years ago
german77
79f1f326c7
service: nfc: Silence ListDevices
3 years ago
bunnei
beba9c9b61
Revert "hle: service: audio: Use default service thread."
3 years ago
Chloe Marcec
c5f519e1e4
Set: Allow setting device nickname
3 years ago
Narr the Reg
a4725bcb73
service: nfc: Implement mifare service
3 years ago
Morph
00fdffec58
service: nifm: Update stubs for Submit/GetRequestState/GetResult
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
97f273e94e
service: Make use of buffer element count helpers
3 years ago
Liam
9737615948
general: fix compile for Apple Clang
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
Liam
cf202f3718
nvnflinger: fix lost wakeup
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
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
4eece4d35d
kernel/svc_types: refresh
3 years ago
bunnei
ba21ba0c5c
core: hle: kernel: k_memory_manager: Refresh.
3 years ago
bunnei
75ab52f05b
core: hle: service: acc: Fix ListOpenContextStoredUsers/StoreOpenContext.
- These APIs are used to capture the opened users and allow that state to be persisted across processes.
- They are not intended to just return the system opened users, that is what ListOpenUsers is for.
- Fixes the launch hang with Bayonetta 3.
3 years ago
Liam
77b74f5d95
sm:: avoid excessive port recreation
3 years ago
Liam
2228383322
kernel: fix port tracking
3 years ago
Liam
7aa91c8d9c
k_server_session: add SendReplyHLE
3 years ago
Liam
983f2b7074
kernel: invert session request handling flow
3 years ago
Liam
4e9adae5da
kernel: more complete fix for KPort reference counting
3 years ago
german77
6f0f7f1547
service: am: Stub SetRecordVolumeMuted
Used by bayonetta 3
3 years ago
Liam
d867ae5ab6
k_server_session: fix crashes
3 years ago
Liam
2cdfbbc07d
nvnflinger: release queued handles immediately on disconnection
3 years ago