Commit Graph

20670 Commits (7ba6f68a8db067d299ca7be0f7cb658e94819502)
 

Author SHA1 Message Date
bunnei bf32fcc817 core: hle: kernel: Add KWorkerTask and KWorkerTaskManager.
- These primitives are used to dispatch asynchronous kernel tasks from KThread and KProcess.
3 years ago
bunnei f6de57c1a5 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.
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
Narr the Reg 5ce5432830
core/hid: Increment shake force
With the current settings 2p mode in pokemon let's go wasn't showing up.  By making the shake more violent we can make it appear without any effort using the keyboard
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
Morph d92b5fc435 common: bit_util: Add IsPow2 helper function
Makes use of std::has_single_bit() to check whether the value is a power of 2.
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 a1054a093c
cmake: upgrade Conan package fmt to 8.1.1 ...
... requirements for fmt stays at ^8.0.1
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
Mai M 2897ddb8f5
Merge pull request #7679 from liushuyu/update-dynarmic
externals/dynarmic: update to the latest revision
3 years ago
liushuyu b590e5572d
externals/dynarmic: update to latest revision ...
... to resolve compilation errors with fmt 8.1
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
Mai M 37a3b89e7a
Merge pull request #7675 from zhaobot/tx-update-20220105075447
Update translations (2022-01-05)
3 years ago
The yuzu Community 7c88f4de2d Update translations (2022-01-05) 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 6af82fd070
Merge pull request #7610 from Tatsh/more-system-libs
Add support for linking against system Opus
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