summaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* log/backend: Make use of erase_ifGravatar Lioncash2021-04-201-4/+4
| | | | Same behavior, but less verbose.
* 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.
* | | | | | | Merge pull request #6191 from lioncash/vdtorGravatar bunnei2021-04-134-4/+5
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | engine_interface: Add missing virtual destructor
| * | | | | | engine_interface: Add missing virtual destructorGravatar Lioncash2021-04-124-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Eliminates a potential bug vector related to inheritance. Plus, we should generally be specifying the destructor as virtual within purely virtual interfaces to begin with.
* | | | | | | Merge pull request #6190 from lioncash/constfn2Gravatar bunnei2021-04-131-2/+2
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | vk_master_semaphore: Add missing const qualifier for IsFree()
| * | | | | | | vk_master_semaphore: Deduplicate atomic access within IsFree()Gravatar Lioncash2021-04-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We can just reuse the already existing KnownGpuTick() to deduplicate the access.
| * | | | | | | vk_master_semaphore: Add missing const qualifier for IsFree()Gravatar Lioncash2021-04-121-1/+1
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | This member function doesn't modify class state.
* | | | | | | Merge pull request #6188 from lioncash/bitsGravatar bunnei2021-04-131-5/+6
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | vk_texture_cache: Make use of bit_cast where applicable
| * | | | | | | vk_texture_cache: Make use of Common::BitCast where applicableGravatar Lioncash2021-04-121-5/+6
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also clarify the TODO comment a little more on the lacking implementations for std::bit_cast.
* | | | | | | Merge pull request #6187 from lioncash/sign-convGravatar bunnei2021-04-132-11/+15
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | texure_cache/util: Resolve implicit sign conversions with std::reduce
| * | | | | | texure_cache/util: Resolve implicit sign conversions with std::reduceGravatar Lioncash2021-04-122-11/+15
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Amends implicit sign conversions occurring with usages of std::reduce and also relocates it to its own utility function to reduce verbosity a little bit.
* | | | | | Merge pull request #6186 from lioncash/cache-eraseGravatar bunnei2021-04-121-5/+4
|\ \ \ \ \ \ | | | | | | | | | | | | | | query_cache: Make use of std::erase_if
| * | | | | | query_cache: Make use of std::erase_ifGravatar Lioncash2021-04-121-5/+4
| |/ / / / / | | | | | | | | | | | | | | | | | | Same behavior, but much more straightforward to read.
* | | / / / nvidia_flags: Add missing header guardGravatar Lioncash2021-04-121-0/+2
| |_|/ / / |/| | | | | | | | | | | | | | Prevents potential inclusion compilation errors.
* | | | | k_thread: Remove [[nodiscard]] attribute from ClearWaitCancelled()Gravatar Lioncash2021-04-121-1/+1
|/ / / / | | | | | | | | | | | | | | | | This function has a void return value, so this attribute doesn't apply to it.
* | | | Merge pull request #6135 from Morph1984/borderless-windowed-fullscreenGravatar bunnei2021-04-115-9/+120
|\ \ \ \ | |/ / / |/| | | configure_graphics: Add Borderless Windowed fullscreen mode
| * | | config: Default to exclusive fullscreen mode on platforms other than WindowsGravatar Morph2021-04-061-0/+12
| | | | | | | | | | | | | | | | Several issues have been reported with the borderless windowed fullscreen mode on *nix platforms. Default to exclusive fullscreen mode on these platforms for now.
| * | | configure_graphics: Add Borderless Windowed fullscreen modeGravatar Morph2021-04-065-9/+108
| | | | | | | | | | | | | | | | | | | | | | | | The borderless windowed fullscreen mode solves several issues with the presentation of the overlay dialogs and on-screen keyboard in exclusive fullscreen mode, and also has other benefits such as smoother gameplay, lower latency and a significant reduction in screen tearing. Co-authored-by: Its-Rei <kupfel@gmail.com>
* | | | Merge pull request #6181 from Joshua-Ashton/robustness_featuresGravatar Rodrigo Locatti2021-04-111-0/+9
|\ \ \ \ | | | | | | | | | | vulkan_device: Enable EXT_robustness2 features