summaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* service: hid: Get transfer memory for InitializeSevenSixAxisSensorGravatar Morph2021-04-221-1/+38
|
* Merge pull request #6214 from Morph1984/time-fix-kirby-clashGravatar bunnei2021-04-211-3/+5
|\ | | | | time: Fix GetClockSnapshotFromSystemClockContext
| * time: Write buffer before pushing RESULT_SUCCESS in GetClockSnapshotGravatar Morph2021-04-191-1/+2
| |
| * time: Fix GetClockSnapshotFromSystemClockContextGravatar Morph2021-04-191-2/+3
| | | | | | | | | | | | This removes an incorrect alignment usage and corrects the positions of the popped parameters. - Fixes Super Kirby Clash crashing on boot
* | Merge pull request #6219 from lioncash/log-eraseGravatar bunnei2021-04-202-10/+12
|\ \ | | | | | | log/backend: Make use of erase_if
| * | log/backend: Use in-class initializer for FileBackendGravatar Lioncash2021-04-202-6/+8
| | | | | | | | | | | | We can also avoid redundant constructions of the same string repeatedly.
| * | log/backend: Make use of erase_ifGravatar Lioncash2021-04-201-4/+4
| |/ | | | | | | Same behavior, but less verbose.
* | Merge pull request #6218 from lioncash/tcacheGravatar bunnei2021-04-201-1/+1
|\ \ | | | | | | texture_cache/util: Fix src being used instead of dst within DeduceBlitImages case
| * | texture_cache/util: Fix src being used instead of dst within DeduceBlitImagesGravatar Lioncash2021-04-191-1/+1
| |/ | | | | | | | | | | | | This line can only ever be reached if src is null, so dereferencing it here is a logic bug that slipped through. Instead, we dereference dst instead which is guaranteed to be valid.
* | Merge pull request #6207 from lat9nq/sdl-2.0.14Gravatar bunnei2021-04-206-1/+48
|\ \ | | | | | | cmake: Use SDL 2.0.14 and fix scope issue
| * | general: Ignore implicit-fallthrough for SDL.hGravatar lat9nq2021-04-185-0/+47
| | | | | | | | | | | | | | | | | | SDL 2.0.14 introduces an incompatibility with Clang, causing it to trigger -Wimplicit-fallthrough even though it is marked. Ignore it for now, with a comment mentioning why this is needed.
| * | cmake: Use SDL 2.0.14 and fix CMake scope issueGravatar lat9nq2021-04-171-1/+1
| |/ | | | | | | | | | | | | | | | | | | Forces using SDL 2.0.14. Upgrades the SDL external to that version. Adds a message when switching to the external. Fixes an error where input_common only links to SDL when SDL2_FOUND is set, but externals/CMakeLists cannot set that variable to the required scope. Switch to using ENABLE_SDL2, which we can use since we now include the SDL source.
* | Merge pull request #6217 from Morph1984/consistent-writebuffersGravatar bunnei2021-04-193-5/+12
|\ \ | | | | | | general: Write buffers before pushing raw arguments
| * | general: Write buffers before pushing raw argumentsGravatar Morph2021-04-193-5/+12
| |/ | | | | | | For consistency with the rest of the service implementations
* | Merge pull request #6215 from lioncash/duplicateGravatar bunnei2021-04-192-2/+1
|\ \ | | | | | | npad: Remove duplicated class member variable
| * | npad: Remove duplicated class member variableGravatar Lioncash2021-04-192-2/+1
| |/ | | | | | | | | | | ControllerBase already has a System reference that can be accessed from this class, so we can get rid of this to make the class layout a little more straightforward.
* | arp: Use type alias for issue functionGravatar Lioncash2021-04-191-4/+4
| | | | | | | | Reduces some verbosity and centralizes the function details in one spot.
* | arp: Prevent uninitialized read of launch member variableGravatar Lioncash2021-04-191-1/+1
|/ | | | | | | | | If anything happened to call arp functions in the wrong order and called IRegistrar's Issue function before SetApplicationLaunchProperty, we'd read from an uninitialized ApplicationLaunchProperty instance. Instead, we can always initialize it so if this does happen, then the outcome of doing such a thing is at least consistently reproducible.
* applets: Send focus state change message on applet state changeGravatar Morph2021-04-1710-22/+56
| | | | Fixes the softlock after the controller applet exits in Mario Kart 8 Deluxe.
* applets: Make the applet mode a protected property of AppletGravatar Morph2021-04-1714-22/+20
|
* Merge pull request #6125 from ogniK5377/nvdec-close-devGravatar bunnei2021-04-163-11/+14
|\ | | | | nvdrv: Cleanup CDMA Processor on device closure
| * Address issuesGravatar Chloe Marcec2021-04-161-3/+2
| |
| * nvdrv: Cleanup CDMA Processor on device closureGravatar Chloe Marcec2021-03-303-11/+15
| | | | | | | | Brings us a step closer to unifying all channels to share a common interface.
* | Merge pull request #6133 from Morph1984/project-eleuthiaGravatar bunnei2021-04-1635-468/+8141
|\ \ | | | | | | Project Eleuthia - On-Screen Keyboard and Error Applet Overlays
| * | applets/swkbd: Implement the Qt Software Keyboard frontendGravatar Morph2021-04-156-14/+5518
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Qt Software Keyboard frontend attempts to mimic the software keyboard rendered by the Nintendo Switch. This frontend implements multiple keyboard types, such as the normal software keyboard, the numeric pad software keyboard and the inline software keyboard. Keyboard and controller input is also supported in this frontend. Keyboard input is handled as native keyboard input, and so the on-screen keyboard cannot be navigated with the keyboard arrow keys as the arrow keys are used to move the text cursor. Controller input is translated into mouse hover movements on the onscreen keyboard or their respective button actions (B for backspace, A for entering the selected button, L/R for moving the text cursor, etc). The text check dialogs can also be confirmed with controller input through the use of the OverlayDialog Massive thanks to Rei for creating all the UI for the various keyboards and OverlayDialog. This would not have been possible without his excellent work. Co-authored-by: Its-Rei <kupfel@gmail.com>
| * | error: Make the error code as the title text of the OverlayDialogGravatar Morph2021-04-154-15/+17
| | | | | | | | | | | | Co-authored-by: Its-Rei <kupfel@gmail.com>
| * | overlay_dialog: Add an overlay text dialog that accepts controller inputGravatar Morph2021-04-155-1/+768
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | An OverlayDialog is an interactive dialog that accepts controller input (while a game is running) This dialog attempts to replicate the look and feel of the Nintendo Switch's overlay dialogs and provide some extra features such as embedding HTML/Rich Text content in a QTextBrowser. The OverlayDialog provides 2 modes: one to embed regular text into a QLabel and another to embed HTML/Rich Text content into a QTextBrowser. Co-authored-by: Its-Rei <kupfel@gmail.com>
| * | main: Move meta type registration into its own functionGravatar Morph2021-04-152-9/+65
| | | | | | | | | | | | | | | Moves the existing meta type registration into its own function and adds registration of common integral, floating point and string types. This function is also now called in the constructor of the GMainWindow instead of on starting a game.
| * | input_interpreter: Fix button hold being interpreted incorrectly on initGravatar Morph2021-04-152-1/+17
| | | | | | | | | | | | We reset all the button states to 0 except the first index (which has all the buttons as pressed) to prevent a button hold being interpreted as a button that was pressed once on the first poll.
| * | applets/swkbd: Implement the Default Software Keyboard frontendGravatar Morph2021-04-152-2/+236
| | |
| * | applets/swkbd: Implement the Normal and Inline Software Keyboard AppletGravatar Morph2021-04-154-13/+1488
| | |
| * | ILibraryAppletCreator: Implement CreateHandleStorageGravatar Morph2021-04-152-6/+64
| | | | | | | | | | | | Used by Monster Hunter Generations Ultimate
| * | hle_ipc: Add helper functions to get copy/move handlesGravatar Morph2021-04-152-2/+16
| | |
| * | ILibraryAppletAccessor: Demote from ERROR to DEBUG for null storage logsGravatar Morph2021-04-151-2/+2
| | | | | | | | | | | | Avoids unnecessary console spam when the inline software keyboard is used.
| * | applets: Pass in the LibraryAppletMode each applet's constructorGravatar Morph2021-04-1513-33/+58
| | |
| * | applets: Remove the previous software keyboard applet implementationGravatar Morph2021-04-158-492/+14
| | |
* | | Merge pull request #6119 from german77/SDLMappingGravatar bunnei2021-04-152-6/+24
|\ \ \ | |/ / |/| | InputCommon: Address mapping and naming issues with SDL2
| * | InputCommon: Name properly xbox 360 and one controllers, Fix mappings for ↵Gravatar german772021-03-302-6/+24
| | | | | | | | | | | | Nintendo Pro controllers
* | | Merge pull request #6199 from lioncash/log-nsGravatar bunnei2021-04-1411-45/+58
|\ \ \ | | | | | | | | common/log: Move Log namespace into the Common namespace
| * | | log/backend: Correct order of const in copy constructorGravatar Lioncash2021-04-141-2/+5
| | | | | | | | | | | | | | | | | | | | Follows our predominant coding style. Also explicitly specifies the move constructor/assignment operator as well.
| * | | common/log: Move Log namespace into the Common namespaceGravatar Lioncash2021-04-1411-43/+53
| | | | | | | | | | | | | | | | | | | | Forgot to move this over when I moved the rest of the source files with lacking namespaces over.
* | | | Merge pull request #6196 from bunnei/asserts-settingGravatar bunnei2021-04-14118-147/+171
|\ \ \ \ | | | | | | | | | | core: settings: Add setting for debug assertions and disable by default.
| * | | | common: Move settings to common from core.Gravatar bunnei2021-04-14116-146/+144
| | | | | | | | | | | | | | | | | | | | - Removes a dependency on core and input_common from common.
| * | | | core: settings: Add setting for debug assertions and disable by default.Gravatar bunnei2021-04-147-2/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - This is a developer-only setting and no longer needs to be enabled by default. - Also adds "use_auto_stub" setting to SDL frontend while we are here. - Supersedes #1340.
* | | | | Merge pull request #6197 from ameerj/kreslimit-cleanupGravatar bunnei2021-04-144-21/+13
|\ \ \ \ \ | | | | | | | | | | | | k_resource_limit: Cleanup of member variables/headers
| * | | | | k_resource_limit: Minor cleanup of member variables/headersGravatar ameerj2021-04-144-21/+13
| | | | | |
* | | | | | Merge pull request #6195 from Morph1984/controller-applet-motionGravatar bunnei2021-04-132-0/+19
|\ \ \ \ \ \ | |/ / / / / |/| | | | | applets/controller: Hook up the "Motion" button functionality
| * | | | | applets/controller: Hook up the "Motion" button functionalityGravatar Morph2021-04-132-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | I forgot to hook this up during the development of the controller applet, this PR amends that.
* | | | | | Merge pull request #6185 from ameerj/process-reslimitGravatar bunnei2021-04-132-38/+27
|\ \ \ \ \ \ | | | | | | | | | | | | | | kernel/process: Replace process resource limit instance with the kernel's resource limit
| * | | | | | kernel/process: Replace process resource limit instance with the kernel's ↵Gravatar ameerj2021-04-122-38/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | resource limit This commit addresses the inaccurate behavior of kernel processes creating their own resource limit, rather than utilizing the kernel's system-wide resource limit instance.