summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-11-15hid: Fix controller rumble based on new researchMorph
This fixes the issue where rumble is only sent to the first controller. Now, individual controllers can receive their own rumble commands.
2020-11-15hid: Pop a struct of parameters instead of popping individual parametersMorph
Some parameters need to be doubleword aligned due to the presence of the applet_resource_user_id. Previously, this value was invalid in many commands where it was not doubleword aligned when popped.
2020-11-15hid: Reorder all HID commandsMorph
Reorders all HID commands in command id order.
2020-11-15hid: Implement GetVibrationDeviceInfoMorph
The first u32 describes the vibration device type which is a Linear Resonant Actuator used in Nintendo Switch controller hardware. The second u32 describes the vibration device position, in this case distinguishing between left and right vibration actuators. Pro Controllers have 2 LRAs each that can vibrate independently of each other, which means they have 2 distinct vibration device handles to distinguish between the two actuators. Similarly for joycons, the left joycon can be distinguished from the right joycon through the vibration device handle since each joycon has 1 LRA.
2020-11-15hid: Stub InitializeVibrationDeviceMorph
2020-11-15controllers/npad: Rename NPadType to NpadStyleSetMorph
This more accurately represents the underlying type and avoids confusion with NpadType
2020-11-15controllers/npad: Add DeviceHandle structMorph
A DeviceHandle describes a vibration device or six-axis sensor based on the npad type, npad id, and device index/position
2020-11-15configure_input_player: Change "Defaults" button behaviorMorph
RestoreDefaults() now restores the selected devices' mappings using UpdateMappingWithDefaults(). This allows us to move the keyboard mapping from RestoreDefaults() to UpdateMappingWithDefaults().
2020-11-15settings: Preparation for per-game input settingsMorph
2020-11-15udp/client: Reduce testing period to 5 secondsMorph
2020-11-15config: Migrate config files into config/customMorph
Co-authored-by: lat9nq <lat9nq@virginia.edu>
2020-11-15controllers/npad: Connect a controller on init if none are connectedMorph
2020-11-15applets/controller: Auto accept a valid single player configurationMorph
2020-11-15bootmanager: Allow mouse clicks only if touch is disabledMorph
Previously mouse clicks will not register when touch is disabled. This rectifies that and allows mouse clicks to be mapped to other buttons if the touchscreen is disabled.
2020-11-15input_profiles: Implement input profilesMorph
2020-11-15configure_input_player: Implement input exclusivity and persistenceMorph
With this, the "Input Devices" combobox should accurately reflect the input device being used and disallows inputs from other input devices unless the input device is set to "Any".
2020-11-15ui/themes: Cleanup UIMorph
2020-11-15Merge pull request #4914 from lat9nq/gl-warningsLC
bootmanager: Log and show GL_RENDERER string when GPU is insufficient
2020-11-12Merge pull request #4895 from Morph1984/cave-story-plus-applet-fixbunnei
applets/controller: Introduce additional checks for mode and caller
2020-11-09Merge pull request #4901 from bunnei/caps-stubbunnei
hle: service: caps_u: Stub GetAlbumFileList3AaeAruid.
2020-11-09bootmanager: Address review commentslat9nq
Changes QMessageBox usages to warnings, as the problems they bring to light are being safely handled by the application and do not warrant something of the "critical" level. Changes LOG_CRITICAL to LOG_ERROR for the same reason. Preferring ERROR to WARNING as yuzu is denying loading of any guest applications after checking for these conditions. Moved logging the GL_RENDERER string into GetUnsupportedGLExtensions() to make more clear that unsupported extensions were already being logged. Makes placement of the logs easier to understand later, as well.
2020-11-09bootmanager: Log and show GL_RENDERER string when GPU is insufficientlat9nq
Changes the first message to not include the OpenGL version, as the error is caused by OpenGL failing to load. Adds a new check for OpenGL version 4.3. This will display a message with a similar error as well as the GL_RENDERER string. Adds a CRITICAL log message when triggered. This prevents a crash with yuzu trying to use older OpenGL versions. Modifies the unsupported extension message to output the GL_RENDERER string in the message, as well as logging the string.
2020-11-08Merge pull request #4909 from lioncash/interruptRodrigo Locatti
cpu_interrupt_handler: Mark move contructor/assignment as deleted
2020-11-08ipc_helpers: Remove usage of the global system instanceLioncash
Resolves numerous deprecation warnings throughout the codebase due to inclusion of this header. Now building core should be significantly less noisy (and also relying on less global state). This also uncovered quite a few modules that were relying on indirect includes, which have also been fixed.
2020-11-08cpu_interrupt_handler: Mark move contructor/assignment as deletedLioncash
The interrupt handler contains a std::atomic_bool, which isn't copyable or movable, so the special move member functions will always be deleted, despite being defaulted. This can resolve warnings on clang and GCC.
2020-11-08applets: Rename LibraryAppletVersion to ControllerAppletVersionMorph
2020-11-08applets/controller: Pop normal data for StrapGuide and FirmwareUpdateMorph
2020-11-08applets/controller: Introduce additional checks for mode and callerMorph
Some games like Cave Story+ set invalid values in the ControllerPrivateArg's mode and caller fields. Use other fields to determine the appropriate mode and caller should either or both fields be invalid.
2020-11-08applets/controller: Add ControllerUpdateFirmwareArg structMorph
2020-11-08Merge pull request #4903 from bunnei/remove-gpu-integritybunnei
video_core: dma_pusher: Remove integrity check on command lists.
2020-11-07Merge pull request #4906 from lat9nq/log-cpu-accuracyLC
settings: log value of CPU_Accuracy
2020-11-07settings: log value of CPU_Accuracylat9nq
2020-11-07video_core: dma_pusher: Remove integrity check on command lists.bunnei
- This seems to cause softlocks in Breath of the Wild.
2020-11-06Merge pull request #4888 from lioncash/unicorn-removebunnei
core: Remove usage of unicorn
2020-11-06hle: service: caps_u: Stub GetAlbumFileList3AaeAruid.bunnei
- This works similiar to GetAlbumContentsFileListForApplication. - Since we do not implement the album, this should be safe to stub for now. - Used by Super Smash Bros. Ultimate (newer updates) in World of Light.
2020-11-06common/fiber: Move all member variables into impl classLioncash
Hides all of the implementation details for users of the class. This has the benefit of reducing includes and also making the fiber classes movable again.
2020-11-06Merge pull request #4891 from lioncash/clang2bunnei
General: Fix clang build
2020-11-06Merge pull request #4894 from lioncash/fnbunnei
settings: Simplify initializer of resolution factor
2020-11-05settings: Simplify initializer of resolution factorLioncash
This can use a braced initializer to accomplish the same thing with less code.
2020-11-05Merge pull request #4854 from ReinUsesLisp/cube-array-shadowbunnei
shader: Partially implement texture cube array shadow
2020-11-05General: Fix clang buildLioncash
Allows building on clang to work again
2020-11-04Merge pull request #4889 from lioncash/setting-globalbunnei
core/settings: Move configuring_global behind an API
2020-11-04Merge pull request #4858 from lioncash/initializerbunnei
General: Resolve a few missing initializer warnings
2020-11-04core/settings: Move configuring_global behind an APILioncash
Rather than have directly modified global state here, we can make it an implementation detail and have an interface that changes are queried through.
2020-11-04Merge pull request #4869 from bunnei/improve-gpu-syncChloe
Improvements to GPU synchronization & various refactoring
2020-11-03core: Remove usage of unicornLioncash
Unicorn long-since lost most of its use, due to dynarmic gaining support for handling most instructions. At this point any further issues encountered should be used to make dynarmic better. This also allows us to remove our dependency on Python.
2020-11-03Merge pull request #4874 from lioncash/nodiscard2bunnei
nvdec: Make use of [[nodiscard]] where applicable
2020-11-03Merge pull request #4873 from lioncash/common-errorbunnei
common: Enable warnings as errors
2020-11-03Merge pull request #4878 from bunnei/unload-nrrbunnei
hle: service: ldr: Implement UnloadNrr.
2020-11-02common: Enable warnings as errorsLioncash
Cleans up common so that we can enable warnings as errors.