Kelebek1
42b16bb33a
Be careful of mangled out of bounds read
3 years ago
german77
50c86b3c2a
core: hid: Fix stick minimum range
3 years ago
Kelebek1
80a55c1663
Add stacktrace symbol demangling
3 years ago
Liam
e9c3d16f6f
debugger: add host fastmem pointer fetch command
3 years ago
Liam
2f2ef5b147
nvnflinger: correct swap interval handling
3 years ago
bunnei
a5693afa03
Revert "Revert "k_page_group: synchronize""
3 years ago
Narr the Reg
8042ce7e19
input_common: Create an update engine
3 years ago
Liam
1ee0540f82
externals: update dynarmic, xbyak
3 years ago
Fernando Sahmkow
af5ecb0b15
MemoryManager: use fastmem directly.
3 years ago
MonsterDruide1
688a9fbfa6
net: Silently translate ETIMEDOUT network error
3 years ago
MonsterDruide1
04cb05fce0
TAS: Immediately switch stick to TAS on input
Co-Authored-By: Narr the Reg <5944268+german77@users.noreply.github.com>
3 years ago
german77
80bcc18788
service: nifm: Initialize request state
3 years ago
german77
ebd811b535
service: nifm: Match documentation names
3 years ago
Merry
bee395d2f0
vfs: Replace cstr concat with char concat
3 years ago
bunnei
05c709bebe
core: hid: emulated_console: Avoid a crash if frontend does not configure touch_from_button_maps.
3 years ago
gidoly
10eaf31af3
Revert "k_page_group: synchronize"
3 years ago
ameerj
b0722591c9
hle_ipc: Use thread_local ReadBuffer
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
MonsterDruide1
bc4126acd7
TAS: Increase accuracy of Stick inputs
3 years ago
Liam
28d9c30861
k_page_table: remove HACK_OpenPages/ClosePages
3 years ago
ameerj
fbc375f0de
fsp_srv: Use ReadBufferSpan
3 years ago
ameerj
9349f06963
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
3392fdac9b
k_page_group: synchronize
3 years ago
Liam
99eccf581e
kernel: workaround static shared memory initialization
3 years ago
Liam
80670a5b6c
time: add LockFreeAtomicType
3 years ago
Liam
c770f25ccb
kernel: remove TimeManager
3 years ago
Liam
67c0d714c5
kernel: add KHardwareTimer
3 years ago
german77
79f1f326c7
service: nfc: Silence ListDevices
3 years ago
Liam
d3123079e8
EmuThread: refactor
3 years ago
german77
243404bf34
input_common: Add virtual gamepad
3 years ago
ameerj
b1d633532f
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
12c0f682e6
hle_ipc: Reserve vectors before populating
3 years ago
Narr the Reg
20cbf6f3db
kernel: svc: Fix duplicated InfoType enum
3 years ago
Narr the Reg
dca4f0687a
kernel: process: Implement GetFreeThreadCount
Used by Just Dance® 2023 Edition
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
Alexander Orzechowski
09e3029c11
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
ed37192441
memory: correct semantics of data cache management operations
3 years ago
Liam
985ed1e160
memory: remove DEBUG_ASSERT pointer test
3 years ago
Salvage
c586ac9be2
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
9704acb982
general: improve handling of system startup failure
3 years ago
Lioncash
eadc1ae1e7
reporter: Pass by const reference where applicable
Same behavior, but without memory churn.
3 years ago
Lioncash
e7f9f58fa4
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
Lioncash
fedd857054
applets/controller: Use aliases for callbacks
3 years ago