aboutsummaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2020-09-14patch_manager: Make use of type aliasesLioncash
We can use these to avoid typing the same type redundantly. This way, if these ever change, only a single location needs to be modified.
2020-09-14patch_manager: Make a few functions internally linkedLioncash
These functions are only used within this translation unit, so we can make them internally linked.
2020-09-14crypto/key_manager: Remove dependency on the global system accessorLioncash
We can supply the content provider as an argument instead of hardcoding a global accessor in the implementation.
2020-09-14kernel: Remove all dependencies on the global system instanceLioncash
With this, the kernel finally doesn't depend directly on the global system instance anymore.
2020-09-14Merge pull request #4636 from lioncash/kernel-hlebunnei
service: Remove two usages of the global system accessor
2020-09-11Merge pull request #4323 from ReinUsesLisp/no-spinbunnei
kernel/scheduler: Use std::mutex instead of spin lock
2020-09-11Merge pull request #4634 from lioncash/blockingbunnei
bsd: Resolve a few warnings
2020-09-11Merge pull request #4310 from ogniK5377/apollo-1-prodbunnei
audio_core: Apollo Part 1, AudioRenderer refactor
2020-09-10Merge pull request #4597 from Morph1984/mjolnir-p2bunnei
Project Mjölnir: Part 2 - Controller Applet
2020-09-10Test: Decrease pad_update_nsFearlessTobi
There have been reports of quite heavy input lag in the past. Compared to Citra for example, our pad_update_ns value is very high. So let's decrease it and see if it helps with this problem.
2020-09-10Merge pull request #4633 from ReinUsesLisp/gpu-initRodrigo Locatti
video_core: Remove all Core::System references in renderer
2020-09-07service: Remove two usages of the global system accessorLioncash
Removes more instances of reliance on global state.
2020-09-07bsd: Resolve unused value within SendToImplLioncash
Previously the address provided to SendToImpl would never be propagated to SendTo(). This fixes that.
2020-09-07bsd: Resolve sign comparison warningsLioncash
2020-09-07sockets_translate: Make use of designated initializersLioncash
Same behavior, less typing.
2020-09-07blocking_worker: Make use of templated lambdaLioncash
We can simplify this a little by explicitly specifying the typename for the lambda function.
2020-09-07blocking_worker: Resolve -Wdocumentation warningLioncash
2020-09-06video_core: Remove all Core::System references in rendererReinUsesLisp
Now that the GPU is initialized when video backends are initialized, it's no longer needed to query components once the game is running: it can be done when yuzu is booting. This allows us to pass components between constructors and in the process remove all Core::System references in the video backend.
2020-09-05Merge pull request #4397 from ReinUsesLisp/bsdbunnei
services: Implement most of bsd:s and GetCurrentIpAddress from nifm
2020-09-05configure_input: Hook up the motion button and checkboxMorph
This allows toggling motion on or off, and allows access to the motion configuration. Also changes the [waiting] text for motion buttons to Shake! as this is how motion is connected to a player.
2020-09-04Add cemu hook changes related to PR #4609german
2020-09-04Remove RealMotionDevicegerman
2020-09-04controllers/npad: Simplify motion entry assignmentMorph
Simplifies the motion assignment in the Dual Joycon entry and assigns index 1 of the motion entry (Motion 2) for the right joycon.
2020-09-04Include HID and configuration changes related to motiongerman
2020-09-04hid: Implement MergeSingleJoyasDualJoyMorph
- Used in multiple games such as Super Mario Odyssey.
2020-09-04applets/controller: Resolve several compiler warningsMorph
Resolves -Wsign-compare and -Wunused-variable
2020-09-04Address feedbackMorph
2020-09-04applets/controller: Set min_players to have a minimum value of 1.Morph
- Some games like Shipped have a minimum requirement of 0 connected players and is undesired behavior. We must require a minimum of 1 player connected regardless of what games may ask.
2020-09-04applets/controller: Modify heuristic to account for certain gamesMorph
Now left and right joycons have the same priority (meaning both needs to be supported by the game). Explanation of the new heuristic: Assign left joycons to even player indices and right joycons to odd player indices. We do this since Captain Toad Treasure Tracker expects a left joycon for Player 1 and a right Joycon for Player 2 in 2 Player Assist mode.
2020-09-04applets/controller: Implement fallback applet for the SDL frontendMorph
Implement the fallback applet for the SDL frontend, connecting only the minimum amount of players required.
2020-09-04applets/controller: Implement "Explain Text"Morph
"Explain Text" is additional text that is shown for each player in the controller applet.
2020-09-04Project Mjölnir: Part 2 - Controller AppletMorph
Co-authored-by: Its-Rei <kupfel@gmail.com>
2020-09-03Merge pull request #4590 from ReinUsesLisp/tsan-schedbunnei
hle/scheduler: Fix data race in is_context_switch_pending
2020-09-03file_sys/patch_manager: Add missing includeReinUsesLisp
Fixes build issues
2020-09-02Merge pull request #4568 from lioncash/fspbunnei
fsp_srv: Resolve -Wmaybe_uninitialized warning in OpenSaveDataFileSystem()
2020-09-02Merge pull request #4564 from lioncash/file-includebunnei
file_sys: Replace inclusions with forward declarations where applicable
2020-09-01Merge pull request #4382 from FearlessTobi/port-udp-configbunnei
yuzu: Add motion and touch configuration from Citra
2020-08-31Merge pull request #4589 from ReinUsesLisp/tsan-hostbunnei
hle/kernel: Fix data race in GetCurrentHostThreadID
2020-08-31Merge pull request #4461 from comex/thread-namesLC
Fix thread naming on Linux, which limits names to 15 bytes.
2020-08-30Address second batch of reviewsFearlessTobi
2020-08-29yuzu: Add motion and touch configurationFearlessTobi
2020-08-28Merge pull request #4586 from yuzu-emu/tsan-cpu-interruptbunnei
cpu_interrupt_handler: Make is_interrupted an atomic
2020-08-26controllers/npad: Fix inconsistencies with controller connection statusesMorph
2020-08-26controllers/npad: Fix LibNX controller connection statusesMorph
This allows homebrew applications to be able to properly detect connected controllers.
2020-08-26controllers/npad: Fix LedPattern for P1-4Morph
2020-08-26Project Mjölnir: Part 1Morph
Co-authored-by: James Rowe <jroweboy@gmail.com> Co-authored-by: Its-Rei <kupfel@gmail.com>
2020-08-26hle/scheduler: Fix data race in is_context_switch_pendingReinUsesLisp
As reported by tsan, SelectThreads could write to is_context_switch_pending holding a mutex while SwitchToCurrent reads it without holding any. It is assumed that the author didn't want an atomic here, so the code is reordered so that whenever is_context_switch_pending is read inside SwitchToContext, the mutex is locked.
2020-08-26hle/kernel: Fix data race in GetCurrentHostThreadIDReinUsesLisp
As reported by tsan, host_thread_ids could be read while any of the RegisterHostThread variants were called. To fix this, lock the register mutex when yuzu is running in multicore mode and GetCurrentHostThreadID is called.
2020-08-26cpu_interrupt_handler: Misc style changesReinUsesLisp
2020-08-26cpu_interrupt_handler: Make is_interrupted an atomicReinUsesLisp
Fixes a race condition detected from tsan