Liam
e1b0b3d0db
timing: wait for completion on unregister
3 years ago
Kelebek1
8fea4c21b2
Be careful of mangled out of bounds read
3 years ago
german77
c76721182c
core: hid: Fix stick minimum range
3 years ago
Kelebek1
90f546cba4
Add stacktrace symbol demangling
3 years ago
Liam
f28fbaa41e
debugger: add host fastmem pointer fetch command
3 years ago
Liam
0c15ac5084
nvnflinger: correct swap interval handling
3 years ago
bunnei
1bd2034592
Revert "Revert "k_page_group: synchronize""
3 years ago
Narr the Reg
243f2931b5
input_common: Create an update engine
3 years ago
Liam
7429e31f30
externals: update dynarmic, xbyak
3 years ago
Fernando Sahmkow
7f18e3bb89
MemoryManager: use fastmem directly.
3 years ago
MonsterDruide1
3eb787dcef
net: Silently translate ETIMEDOUT network error
3 years ago
MonsterDruide1
ffc89d8b84
TAS: Immediately switch stick to TAS on input
Co-Authored-By: Narr the Reg <5944268+german77@users.noreply.github.com>
3 years ago
german77
011f49a00b
service: nifm: Initialize request state
3 years ago
german77
991ea9ab41
service: nifm: Match documentation names
3 years ago
Merry
68008d9b80
vfs: Replace cstr concat with char concat
3 years ago
bunnei
d466f5e2b8
core: hid: emulated_console: Avoid a crash if frontend does not configure touch_from_button_maps.
3 years ago
gidoly
118d57a8f0
Revert "k_page_group: synchronize"
3 years ago
ameerj
ddbee432b2
hle_ipc: Use thread_local ReadBuffer
3 years ago
ameerj
713394d526
hle_ipc: Rename ReadBufferSpan to ReadBuffer
3 years ago
ameerj
571d469697
hle_ipc: Rename ReadBuffer to ReadBufferCopy
Indicates explicitly that a copy is occurring
3 years ago
ameerj
53650d2701
bsd: Use std::span for read payloads
Allows the use of HLERequestContext::ReadBufferSpan
3 years ago
ameerj
8a59719bd2
nvdrv: Use std::span for inputs
Allows the use of HLERequestContext::ReadBufferSpan
3 years ago
ameerj
de252703bd
hidbus: Use ReadBufferSpan
3 years ago
ameerj
4531881bfd
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
db9a523aae
service: Use ReadBufferSpan where it is trivial to do so
3 years ago
MonsterDruide1
f33599d41c
TAS: Increase accuracy of Stick inputs
3 years ago
Liam
b4504fdd19
k_page_table: remove HACK_OpenPages/ClosePages
3 years ago
ameerj
399b6d3a0c
fsp_srv: Use ReadBufferSpan
3 years ago
ameerj
e17c343915
hle_ipc: Add ReadBufferSpan function
Returns a std::span to the buffer address, rather than create a copy of the memory into a std::vector
3 years ago
Liam
4b9df26091
k_page_group: synchronize
3 years ago
Liam
71ec5c9519
kernel: workaround static shared memory initialization
3 years ago
Liam
f1528eb549
time: add LockFreeAtomicType
3 years ago
Liam
8df44232e8
kernel: remove TimeManager
3 years ago
Liam
49d1cf6477
kernel: add KHardwareTimer
3 years ago
german77
8a90856b25
service: nfc: Silence ListDevices
3 years ago
Liam
c11dff8639
EmuThread: refactor
3 years ago
german77
3cc666b845
input_common: Add virtual gamepad
3 years ago
ameerj
c57883f1bc
hle_ipc: Refactor ReadBuffer to set buffer size upon initialization
Initializing the vector size during initialization is more efficient than a later call to resize()
3 years ago
ameerj
333fd1165a
hle_ipc: Reserve vectors before populating
3 years ago
Narr the Reg
dfe49436c8
kernel: svc: Fix duplicated InfoType enum
3 years ago
Narr the Reg
464b7a9ee2
kernel: process: Implement GetFreeThreadCount
Used by Just Dance® 2023 Edition
3 years ago
bunnei
572d81508b
Revert "hle: service: audio: Use default service thread."
3 years ago
Chloe Marcec
27a7d5a11a
Set: Allow setting device nickname
3 years ago
Alexander Orzechowski
9e0510f77d
gl_device: Use a more robust way to use strict context mode
Instead of checking a environment variable which may not actually
exist or is just wrong, ask QT if it's running on the wayland
platform.
3 years ago
Liam
47a89280bf
memory: correct semantics of data cache management operations
3 years ago
Liam
8a5667aa70
memory: remove DEBUG_ASSERT pointer test
3 years ago
Salvage
a4369e6175
Remove the lock entirely as per PR discussion
Correctly unlock mutex before its destruction
As per https://en.cppreference.com/w/cpp/thread/mutex/~mutex destroying a locked mutex is undefined behavior and MSVC++ decides to throw in this case
Swap out unique for scoped lock and readd comment
3 years ago
Liam
08d81c9726
general: improve handling of system startup failure
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