summaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
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
2020-08-25Merge pull request #4563 from lioncash/rcachebunnei
registered_cache: Make use of designated initializers
2020-08-24logging/settings: Increase maximum log size to 100 MB and add extended ↵M&M
logging option The extended logging option is automatically disabled on boot but can be enabled afterwards, allowing the log file to go up to 1 GB during that session. This commit also fixes a few errors that are present in the general debug menu.
2020-08-24Merge pull request #4562 from lioncash/loopbunnei
cpu_manager: Make use of ranged for where applicable
2020-08-23Merge pull request #4561 from lioncash/key-constexprbunnei
key_manager: Make data arrays constexpr
2020-08-23Merge pull request #4549 from lioncash/filesbunnei
vfs_real: Avoid redundant map lookups
2020-08-23fsp_srv: Resolve -Wunused-but-set-variable warningLioncash
We can just log out the parameters in the meantime.
2020-08-23file_sys: Replace inclusions with forward declarations where applicableLioncash
Same behavior, minus unnecessary inclusions where not necessary.
2020-08-23fsp_srv: Resolve -Wmaybe_uninitialized warning in OpenSaveDataFileSystem()Lioncash
Initialize id to a deterministic value and also mark the unreachable cases in the switch with UNREACHABLE().
2020-08-23registered_cache: Make use of ends_with for string suffix checkingLioncash
Simplifies code.
2020-08-23registered_cache: Make use of designated initializersLioncash
Removes the need for comments to indicate the fields being assigned.
2020-08-23Merge pull request #4560 from lioncash/convertbunnei
core_timing: Resolve sign conversion warning
2020-08-22key_manager: Make data arrays constexprLioncash
We can convert these maps into constexpr arrays to eliminate some runtime static constructors.
2020-08-22cpu_manager: Make use of ranged for where applicableLioncash
We can simplify a few loops by making use of ranged for.
2020-08-22core_timing: Remove unused headerLioncash
2020-08-22core_timing: Move clock initializer into constructor initializer listLioncash
Same behavior, minus unnecessary zeroing out of the pointer.
2020-08-22core_timing: Resolve sign conversion warningLioncash
This constant is only ever assigned to downcount, which is a s64, not a u64.
2020-08-21Merge pull request #4541 from MerryMage/yolobunnei
dynarmic: Add unsafe optimizations