Commit Graph

18253 Commits (c624edceba98db4fde8ba3bb30c2f3fd19e8823f)

Author SHA1 Message Date
Valeri c624edceba
Correct assignment source for rotations
Found by static analysis with PVS-Studio
3 years ago
bunnei 480b03b645
Merge pull request #7713 from gidoly/patch-3
Change default name for playstation controllers
3 years ago
bunnei 5eda606952
Merge pull request #7711 from bunnei/fix-service-thread-race-v2
hle: kernel: Fix service_threads access to be thread safe V2.
3 years ago
gidoly 7978ea4e8c
Change default name for ps controllers
Minor nitpick
Code is from narr
3 years ago
bunnei 4064e03568
Merge pull request #7707 from german77/slow-update
service/hid: Decrease motion update rate
3 years ago
bunnei cc112f971e hle: kernel: Fix service_threads access to be thread safe V2.
- PR #7699 attempted to fix CreateServiceThread and ReleaseServiceThread to be thread safe, but inadvertently introduced a possible dead-lock.
- With this PR, we use a worker thread to manage the service thread list, allowing it only to be accessed by a single thread, and guaranteeing threads will not destroy themselves.
- Fixes a rare crash in Pokemon Sword/Shield, I've now run this game for ~12 hours non-stop and am quite confident this is a good solution for this issue.
3 years ago
Mai M b2d45a4072
Merge pull request #7699 from bunnei/fix-service-thread-race
hle: kernel: Fix service_threads access to be thread safe.
3 years ago
Mai M 07e477f891
Merge pull request #7698 from bunnei/mem-code-memory-updates
Kernel Memory Updates (Part 2): SetProcessMemoryPermission, update permissions, and other minor changes.
3 years ago
bunnei 2147240e47 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.
3 years ago
bunnei f1aa7ff893
Merge pull request #7690 from Morph1984/increase-file-limit-win
yuzu: main: Increase the open file limit on Windows to 8192
3 years ago
bunnei b3bcf0fa88
Merge pull request #7700 from german77/no-gyro
core/hid: Reduce gyro threshold even more
3 years ago
Narr the Reg 8185509683
service/hid: Decrease motion update rate
Motion stops working in Mario Tennis in swing mode if the update rate is too fast even when HW it updates at the same speed. 10ms it's the minimum period that the game needs to start working again.
3 years ago
Narr the Reg d348070226
core/hid: Reduce gyro threshold even more 3 years ago
bunnei eb7197eb47
Merge pull request #7697 from abouvier/opt-tests
cmake: make tests optional
3 years ago
bunnei 49a0e4330e hle: kernel: k_page_table: Update SetProcessMemoryPermission. 3 years ago
bunnei 6ac44f3bdc hle: service: ldr: UnmapCodeMemory BSS only when set. 3 years ago
bunnei 6123b6ea45 hle: kernel: k_page_table: ReadAndWrite -> UserReadWrite. 3 years ago
bunnei 081669c334 hle: kernel: k_page_table: Rename *ProcessCodeMemory -> *CodeMemory. 3 years ago
bunnei 599c0763e5
Merge pull request #7684 from bunnei/set-mem-perm-attr
Kernel Memory Updates (Part 1): SetMemoryAttribute, and other minor changes.
3 years ago
Alexandre Bouvier c8b358dba2 cmake: make tests optional 3 years ago
bunnei c65c651b6f
Merge pull request #7633 from german77/hotkeys
yuzu: Add controller hotkeys
3 years ago
Morph 36da4d1121 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.
3 years ago
Morph b3308830b2
Merge pull request #7683 from liushuyu/fmt-8.1
logging: adapt to changes in fmt 8.1
3 years ago
Morph 18adea343e
Merge pull request #7687 from german77/tas_handle
input_common: Handle errors on TAS scripts
3 years ago
liushuyu 09f4f3f23b
logging/log.h: move enum class formatter to a separate file ...
... to common/logging/formatter.h
3 years ago
liushuyu 099dd0c0d2
logging/log: use `underlying_type` instead of hardcoding types 3 years ago
bunnei acbfb0083a
Merge pull request #7682 from german77/udp_fix
input_common: Fix UDP controller mappings
3 years ago
bunnei af4696657c core: hle: kernel: svc: Updates to SetMemoryAttribute and SetMemoryPermission. 3 years ago
german77 ea089c012e input_common: Handle errors on TAS scripts 3 years ago
bunnei b9a313057e core: hle: kernel: k_page_table: Update CheckMemoryState. 3 years ago
liushuyu 42f653ab6f
logging: adapt to changes in fmt 8.1 3 years ago
bunnei 26f4e92c1f
Merge pull request #7680 from german77/accel_mapping
input_common: Allow to only have acceleration motion data
3 years ago
german77 873d26b335 yuzu: Use pad parameter to choose the correct controller 3 years ago
german77 d05675242a input_common: Fix udp motion not automapping to both sides 3 years ago
german77 72c8a94a6c yuzu: Add controller hotkeys 3 years ago
german77 b94e947793 core/hid: Add home and screenshot button support 3 years ago
german77 50a7152941 core/hid: Set minimum gyro threshold 3 years ago
german77 4b4af29f86 input_common: Use accelerometer data for mapping 3 years ago
Fernando S a95c49e7d0
Merge pull request #7658 from ameerj/sparse-fixes
video_core/memory_manager: Fixes for sparse memory management
3 years ago
bunnei f46e1b8ca2
Merge pull request #7674 from lat9nq/fix-custom-highlight
configure_per_game: Initialize tabs after loading custom configuration
3 years ago
Mai M 7116a7d28b
Merge pull request #7673 from german77/no_return
glsl: Remove unreachable return
3 years ago
lat9nq 62c13e8318 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
3 years ago
Narr the Reg 41bbb31af4 video_core: Remove unnecesary maybe_unused flag 3 years ago
Narr the Reg 524674aafc glsl: Remove unreachable return 3 years ago
bunnei afb06b1495
Merge pull request #7636 from vonchenplus/buffer_queue_query
core:hle:service:nvflinger Implement few type in bufferqueue query method
3 years ago
Fernando S 118d5fa3b0
Merge pull request #7670 from ameerj/vsync-block
gpu: Add shut down method to synchronize threads before destruction
3 years ago
bunnei c68a0d17fc
Merge pull request #7251 from FernandoS27/shader-dump
ShaderDecompiler: Add a debug option to dump the game's shaders.
3 years ago
ameerj c17938f96b gpu: Add shut down method to synchronize threads before destruction 3 years ago
Fernando Sahmkow f58ee3f15f ShaderDecompiler: Add a debug option to dump the game's shaders. 3 years ago
ameerj 7652543231 Revert "Merge pull request #7668 from ameerj/fence-stop-token"
This reverts commit e773354477, reversing
changes made to abbbdc2bc0.
3 years ago