summaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | | | applets/controller: Modify heuristic to account for certain gamesGravatar Morph2020-09-041-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | | | | | | | | main: Apply settings after applet configuration is complete.Gravatar Morph2020-09-041-0/+4
| | | | | | | | | | | | |
| * | | | | | | | | | | | applets/controller: Implement fallback applet for the SDL frontendGravatar Morph2020-09-043-90/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement the fallback applet for the SDL frontend, connecting only the minimum amount of players required.
| * | | | | | | | | | | | applets/controller: Load configuration prior to setting up connectionsGravatar Morph2020-09-042-23/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids unintentionally changing the states of elements while loading them in.
| * | | | | | | | | | | | applets/controller: Make 8 a static constexpr value of NUM_PLAYERSGravatar Morph2020-09-042-15/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoids repetitive usages of the int literal '8' or calls to player_widgets.size()
| * | | | | | | | | | | | applets/controller: Implement "Explain Text"Gravatar Morph2020-09-046-25/+304
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "Explain Text" is additional text that is shown for each player in the controller applet.
| * | | | | | | | | | | | Project Mjölnir: Part 2 - Controller AppletGravatar Morph2020-09-0420-59/+3803
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Its-Rei <kupfel@gmail.com>
* | | | | | | | | | | | | Merge pull request #4608 from lioncash/sign3Gravatar bunnei2020-09-101-2/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / / / / / |/| | | | | | | | | | | | configure_input_player: Resolve sign conversion warnings in UpdateMappingWithDefaults()
| * | | | | | | | | | | | configure_input_player: Resolve sign conversion warnings in ↵Gravatar Lioncash2020-08-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | UpdateMappingWithDefaults() Prevents sign mismatch warnings in the loop conditionals.
* | | | | | | | | | | | | Merge pull request #4633 from ReinUsesLisp/gpu-initGravatar Rodrigo Locatti2020-09-1053-633/+573
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | video_core: Remove all Core::System references in renderer
| * | | | | | | | | | | | | video_core: Remove all Core::System references in rendererGravatar ReinUsesLisp2020-09-0653-633/+573
| | |/ / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | | | | | | gc_adapter: Make DeviceConnected() a const member functionGravatar Lioncash2020-09-073-9/+9
| |_|_|/ / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This doesn't modify instance state, so it can be made const.
* | | | | | | | | | | | Merge pull request #4606 from lioncash/constexprGravatar bunnei2020-09-061-14/+18
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | game_list_p: Mark some constants as constexpr
| * | | | | | | | | | | | game_list_p: Avoid string churn in GameListItemPath data()Gravatar Lioncash2020-08-291-4/+8
| | | | | | | | | | | | |
| * | | | | | | | | | | | game_list_p: Mark some constants as constexprGravatar Lioncash2020-08-291-10/+10
| | |/ / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Consistency change with how we mark constants in the rest of the codebase.
* | | | | | | | | | | | Merge pull request #4397 from ReinUsesLisp/bsdGravatar bunnei2020-09-0510-56/+1387
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / / / |/| | | | | | | | | | | services: Implement most of bsd:s and GetCurrentIpAddress from nifm
| * | | | | | | | | | | service/bsd: Handle Poll with no entries accuratelyGravatar ReinUsesLisp2020-07-281-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Testing shows that Poll called with zero entries returns -1 and signals an errno of zero.
| * | | | | | | | | | | services/bsd: Implement most of bsd:sGravatar ReinUsesLisp2020-07-285-55/+911
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This implements: Socket, Poll, Accept, Bind, Connect, GetPeerName, GetSockName, Listen, Fcntl, SetSockOpt, Shutdown, Recv, RecvFrom, Send, SendTo, Write, and Close The implementation was done referencing: SwIPC, switchbrew, testing with libnx and inspecting its code, general information about bsd sockets online, and analysing official software. Not everything from these service calls is implemented, but everything that is not implemented will be logged in some way.
| * | | | | | | | | | | service/sockets: Add worker pool abstractionGravatar ReinUsesLisp2020-07-281-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Manage worker threads with an easy to use abstraction. We can expand this to support thread deletion in the future.
| * | | | | | | | | | | service/sockets: Add worker abstraction to execute blocking calls asynchronouslyGravatar ReinUsesLisp2020-07-282-0/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This abstraction allows executing blocking functions (like recvfrom on a socket configured for blocking) without blocking the service thread. It is intended to be used with SleepClientThread.
| * | | | | | | | | | | service/sockets: Add translate functionsGravatar ReinUsesLisp2020-07-283-0/+215
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These functions translate from Network enumerations/structures to guest enumerations/structures and viceversa.
| * | | | | | | | | | | service/sockets: Add enumerations and structuresGravatar ReinUsesLisp2020-07-282-0/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add guest enumerations and structures used in socket services
| * | | | | | | | | | | services/nifm: Implement GetCurrentIpAddressGravatar ReinUsesLisp2020-07-281-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is trivially implemented using the Network abstraction - Used by ftpd
* | | | | | | | | | | | hid: Implement MergeSingleJoyasDualJoyGravatar Morph2020-09-043-5/+24
| |_|/ / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Used in multiple games such as Super Mario Odyssey.
* | | | | | | | | | | Merge pull request #4611 from lioncash/xbyak2Gravatar bunnei2020-09-032-21/+21
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | externals: Update Xbyak to 5.96
| * | | | | | | | | | | externals: Update Xbyak to 5.96Gravatar Lioncash2020-08-302-21/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I made a request on the Xbyak issue tracker to allow some constructors to be constexpr in order to avoid static constructors from needing to execute for some of our register constants. This request was implemented, so this updates Xbyak so that we can make use of it.
* | | | | | | | | | | | Merge pull request #4583 from lioncash/truncGravatar bunnei2020-09-031-3/+5
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | gc_poller: Resolve compilation warnings on MSVC
| * | | | | | | | | | | | gc_poller: Resolve compilation warnings on MSVCGravatar Lioncash2020-08-251-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We just need to make our intentional implicit truncations explicit.
* | | | | | | | | | | | | Merge pull request #4578 from lioncash/xorGravatar bunnei2020-09-031-4/+10
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | common_funcs: Add missing XOR operators to DECLARE_ENUM_FLAG_OPERATORS
| * | | | | | | | | | | | | common_funcs: Add missing XOR operators to DECLARE_ENUM_FLAG_OPERATORSGravatar Lioncash2020-08-241-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensures that the full set of bitwise operators are available for types that make use of this macro.
* | | | | | | | | | | | | | Merge pull request #4590 from ReinUsesLisp/tsan-schedGravatar bunnei2020-09-031-2/+6
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hle/scheduler: Fix data race in is_context_switch_pending
| * | | | | | | | | | | | | | hle/scheduler: Fix data race in is_context_switch_pendingGravatar ReinUsesLisp2020-08-261-2/+6
| | |/ / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | | | | | | | Merge pull request #4575 from lioncash/asyncGravatar bunnei2020-09-032-17/+15
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | async_shaders: Mark getters as const member functions
| * | | | | | | | | | | | | | async_shaders: Mark getters as const member functionsGravatar Lioncash2020-08-242-17/+15
| | |/ / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While we're at it, we can also mark them as nodiscard.
* | | | | | | | | | | | | | file_sys/patch_manager: Add missing includeGravatar ReinUsesLisp2020-09-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes build issues
* | | | | | | | | | | | | | Merge pull request #4568 from lioncash/fspGravatar bunnei2020-09-021-3/+13
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fsp_srv: Resolve -Wmaybe_uninitialized warning in OpenSaveDataFileSystem()
| * | | | | | | | | | | | | | fsp_srv: Resolve -Wunused-but-set-variable warningGravatar Lioncash2020-08-231-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We can just log out the parameters in the meantime.
| * | | | | | | | | | | | | | fsp_srv: Resolve -Wmaybe_uninitialized warning in OpenSaveDataFileSystem()Gravatar Lioncash2020-08-231-2/+5
| | |_|_|_|_|_|_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initialize id to a deterministic value and also mark the unreachable cases in the switch with UNREACHABLE().
* | | | | | | | | | | | | | Merge pull request #4564 from lioncash/file-includeGravatar bunnei2020-09-0227-37/+66
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | file_sys: Replace inclusions with forward declarations where applicable
| * | | | | | | | | | | | | | file_sys: Replace inclusions with forward declarations where applicableGravatar Lioncash2020-08-2327-37/+66
| |/ / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Same behavior, minus unnecessary inclusions where not necessary.
* | | | | | | | | | | | | | main: Use three dots to complete the ellipsisGravatar lat9nq2020-09-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes a typo in the UI file. An ellipsis has 3 dots.
* | | | | | | | | | | | | | input_common/motion_input: Make use of Common::PI constantGravatar Morph2020-09-023-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also amend the copyright notice to yuzu's instead of Dolphin's, which was mistakenly copy-pasted from another file.
* | | | | | | | | | | | | | Merge pull request #4570 from german77/motionInputGravatar bunnei2020-09-024-0/+276
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | input_common: Add a basic class for motion devices
| * | | | | | | | | | | | | | Fix orientation errors and improve drift correctionGravatar german2020-08-272-14/+31
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Address commentsGravatar german2020-08-272-85/+65
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Implement a basic class for motion devicesGravatar german2020-08-274-0/+279
| | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | Merge pull request #4382 from FearlessTobi/port-udp-configGravatar bunnei2020-09-0122-13/+1959
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | yuzu: Add motion and touch configuration from Citra
| * | | | | | | | | | | | | | | Address second batch of reviewsGravatar FearlessTobi2020-08-309-30/+27
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Reolve reorder warningGravatar FearlessTobi2020-08-292-3/+3
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Address review comments and fix code compilationGravatar FearlessTobi2020-08-2913-155/+218
| | | | | | | | | | | | | | | |