Liam
0953cdd271
timing: wait for completion on unregister
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
MonsterDruide1
bc4126acd7
TAS: Increase accuracy of Stick inputs
3 years ago
Liam
28d9c30861
k_page_table: remove HACK_OpenPages/ClosePages
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
Lioncash
d8da9a2afd
applets/error: Use aliases for callbacks
3 years ago
Lioncash
2b40cdf04f
applets/mii_edit: Use aliases for callbacks
3 years ago
Lioncash
a84676c2aa
applets/profile_select: Use aliases for callbacks
Deduplicates callback definitions and situates it in one place.
3 years ago
Lioncash
e26c86a6e7
applets/web_browser: Use aliases for callbacks
Deduplicates a lot of long callback declarations
3 years ago
Lioncash
9bbb77637e
applets/software_keyboard: Use aliases for callbacks
Deduplicates really long std::function declarations to make the
interface nicer to read.
3 years ago
Lioncash
e4a16f50ef
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
87543b9dea
emulated_controller: Use std::move() in GetMappedDevices()
Avoids churning allocations in a loop.
3 years ago
Lioncash
7bf4b45349
emulated_console: Amend cast in SetTouch()
id is an int value, not a u32.
3 years ago
Lioncash
4255e30722
emulated_console: std::move() ParamPackages and callbacks where applicable
3 years ago
Lioncash
efa8711bf3
kernel/k_shared_memory: Ensure device_memory is always initialized
3 years ago
Lioncash
c3fd211b43
kernel/k_memory_block: Ensure members are always initialized
3 years ago
Lioncash
dcca650599
kernel/physical_core: Ensure is_interrupted is always initialized
3 years ago
Lioncash
dddc9bb8f1
kernel/thread: Ensure stack_top and argument are always initialized
3 years ago
Lioncash
4769d798f9
kernel/kernel: Ensure shutdown threads are always initialized
3 years ago