bunnei
b722faaf7a
core: hle: kernel: Add KWorkerTask and KWorkerTaskManager.
- These primitives are used to dispatch asynchronous kernel tasks from KThread and KProcess.
4 years ago
bunnei
b533a775d2
common: fiber: YieldTo: Avoid hard crash on nullptr previous_fiber.
- When the emulator crashes to desktop below, we don't even get this captured in a log, making such issues harder to debug.
4 years ago
bunnei
ef9186172f
hle: kernel: Fix service_threads access to be thread safe.
- CreateServiceThread and ReleaseServiceThread can be accessed by different threads, uses a lock to make this thread safe.
- Fixes a rare crash in Pokemon Sword/Shield that can occur when a new service thread is being created while an old one is being destroyed.
4 years ago
Narr the Reg
56ac40bfc4
core/hid: Reduce gyro threshold even more
4 years ago
bunnei
d45b65b4d9
hle: kernel: k_page_table: Update SetProcessMemoryPermission.
4 years ago
bunnei
7526489b8b
hle: service: ldr: UnmapCodeMemory BSS only when set.
4 years ago
bunnei
84a61db25b
hle: kernel: k_page_table: ReadAndWrite -> UserReadWrite.
4 years ago
bunnei
0942533d2f
hle: kernel: k_page_table: Rename *ProcessCodeMemory -> *CodeMemory.
4 years ago
Alexandre Bouvier
4b791bcad7
cmake: make tests optional
4 years ago
Morph
b713400580
yuzu: main: Increase the open file limit on Windows to 8192
This is a temporary solution for now to accommodate for mods containing more than 4096 files.
4 years ago
liushuyu
479d57987c
logging/log.h: move enum class formatter to a separate file ...
... to common/logging/formatter.h
4 years ago
liushuyu
52e9cd7743
logging/log: use `underlying_type` instead of hardcoding types
4 years ago
bunnei
b227426ae5
core: hle: kernel: svc: Updates to SetMemoryAttribute and SetMemoryPermission.
4 years ago
german77
b6c23d1633
input_common: Handle errors on TAS scripts
4 years ago
bunnei
090f1c400e
core: hle: kernel: k_page_table: Update CheckMemoryState.
4 years ago
liushuyu
682ea0f431
logging: adapt to changes in fmt 8.1
4 years ago
german77
a52791af6b
yuzu: Use pad parameter to choose the correct controller
4 years ago
german77
0e1d2581b7
input_common: Fix udp motion not automapping to both sides
4 years ago
german77
353317f31e
yuzu: Add controller hotkeys
4 years ago
german77
06d840652f
core/hid: Add home and screenshot button support
4 years ago
german77
f333340a9c
core/hid: Set minimum gyro threshold
4 years ago
german77
10439bbfff
input_common: Use accelerometer data for mapping
4 years ago
lat9nq
a8b082c537
configure_per_game: Initialize tabs after loading custom configuration
Changes tab initialization to happen after the configuration is loaded,
which means that it no longer happens as member initializers in the
ConfigurePerGame constructor. Removes the cluster of
??_tab->SetConfiguration's that I added earlier to get around this issue
initially.
Fixes a regression in #6774
4 years ago
Narr the Reg
7b752c8f47
video_core: Remove unnecesary maybe_unused flag
4 years ago
Narr the Reg
0646512a9c
glsl: Remove unreachable return
4 years ago
ameerj
664fcdc64b
gpu: Add shut down method to synchronize threads before destruction
4 years ago
Fernando Sahmkow
65387dd0a0
ShaderDecompiler: Add a debug option to dump the game's shaders.
4 years ago
ameerj
8badb6f4a7
Revert "Merge pull request #7668 from ameerj/fence-stop-token"
This reverts commit 5a612e9217 , reversing
changes made to 2e61bc3d51 .
4 years ago
ameerj
0585c60227
gpu: Use std::stop_token in WaitFence for VSync thread
Fixes a hang that may occur when stopping emulation and the VSync thread is blocked on the syncpoint condition variable.
4 years ago
german77
0e9f010ed6
core/hid: Add fallback to fullkey controllers
4 years ago
german77
8b989ac3ae
controller_applet: Only populate supported controllers
4 years ago
german77
4208ac1087
yuzu: Fix UI elements not updating correctly
4 years ago
ameerj
5a7940c1f1
texture_cache/util: Fix s32 overflow when resolving overlaps
4 years ago
ameerj
4c10c0a514
video_core/memory_manager: Fixes for sparse memory management
4 years ago
ameerj
5c644fe97b
video_core/memory_manager: Deduplicate Read/WriteBlock
4 years ago
bunnei
b12695ddc4
core: hle: kernel: Implement thread pinning.
- We largely had the mechanics in place for thread pinning, this change hooks these up.
- Validated with tests https://github.com/Atmosphere-NX/Atmosphere/blob/master/tests/TestSvc/source/test_thread_pinning.cpp .
4 years ago
german77
5dab578691
core/hid: Fix controller type validation
4 years ago
ameerj
c5c13369fa
glsl: Add boolean reference workaround
4 years ago
ameerj
a57dc3509a
glsl_context_get_set: Add alternative cbuf type for broken drivers
some drivers have a bug bitwise converting floating point cbuf values to uint variables. This adds a workaround for these drivers to make all cbufs uint and convert to floating point as needed.
4 years ago
ameerj
0918d673a3
emit_glsl_integer: Use negation work around
4 years ago
ameerj
22a4d26479
shader: Add integer attribute get optimization pass
Works around an nvidia driver bug, where casting the integer attributes to float and back to an integer always returned 0.
4 years ago
Matías Locatti
244dff4e6e
Empty spaces
4 years ago
Matías Locatti
1a30c0a125
Changes to avoid warnings in SSE4.2 optimized SPIR-V
4 years ago
Feng Chen
064470286d
Remove invalid assertion statement
4 years ago
Feng Chen
5e725163a0
Remove invalid header include
4 years ago
Feng Chen
669cb21687
Implement few type in bufferqueue query method
4 years ago
bunnei
714dcea191
core: hle: kernel: Updated implementation of svcSetHeapSize.
- Updates our svcSetHeapSize with latest HOS, furthermore allowing heap size to properly be extended/shrunk.
- Validated with tests https://github.com/Atmosphere-NX/Atmosphere/blob/master/tests/TestSvc/source/test_set_heap_size.cpp .
4 years ago
ameerj
44832be5d2
emit_glasm_context_get_set: Fix GetAttribute return value type.
GetAttribute expects an F32 result type at the IR level, this fixes the return value of attributes which were not returning an F32
4 years ago
ameerj
fbb33df96f
emit_glsl_floating_point: Fix FPNeg on newer Nvidia drivers
4 years ago
ameerj
bb108db1de
vk_texture_cache: Use 3D scale helpers for MSAA texture scaling on Intel Windows drivers
Fixes a crash when scaling MSAA textures in titles such as Sonic Colors Ultimate.
4 years ago