summaryrefslogtreecommitdiff
path: root/src/core (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | program_metadata: Explicitly specify copy/move functionsGravatar Lioncash2021-04-231-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The generation of the copy assignment operators are deprecated on being generated when a user-provided destructor is present. We can explicitly specify that we desire this behavior to keep the class forward compatible with future standards.
* | | | | Merge pull request #6228 from lioncash/semiGravatar bunnei2021-04-231-6/+7
|\ \ \ \ \ | |_|_|_|/ |/| | | | lm: Resolve -Wextra-semi warning
| * | | | lm: Make use of insert_or_assign() in Log()Gravatar Lioncash2021-04-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Avoids unnecessary default construction of an entry in cases where no entry exists before overwriting the created entry.
| * | | | lm: Prevent redundant map lookups in Log()Gravatar Lioncash2021-04-231-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We can perform the lookup and then do the contains check by checking the end iterator. The benefit of this is that if we *do* find an entry, then we aren't hashing into the map again to find it. We can also get rid of an unused std::vector temporary while we're at it.
| * | | | lm: Resolve -Wextra-semi warningGravatar Lioncash2021-04-231-1/+1
| |/ / / | | | | | | | | | | | | Resolves a trivial warning with clang.
* | | | Merge pull request #6229 from lioncash/unused-varGravatar bunnei2021-04-232-6/+0
|\ \ \ \ | | | | | | | | | | acc/lbl: Remove unused variables
| * | | | acc/lbl: Remove unused variablesGravatar Lioncash2021-04-232-6/+0
| |/ / /
* | | | Merge pull request #6231 from lioncash/aesGravatar bunnei2021-04-232-9/+5
|\ \ \ \ | |_|/ / |/| | | aes_util: Make use of std::span
| * | | aes_util: Make use of std::spanGravatar Lioncash2021-04-232-9/+5
| |/ / | | | | | | | | | | | | Allows us to simplify the interface quite a bit as it will handle contiguous sequences for us.
* | | Merge pull request #6232 from lioncash/alias2Gravatar bunnei2021-04-232-24/+27
|\ \ \ | |_|/ |/| | emu_window: unsigned -> u32
| * | emu_window: Return pair from ClipToTouchScreen() instead of tupleGravatar Lioncash2021-04-232-5/+8
| | | | | | | | | | | | | | | This is only a 2-tuple, so it can be converted over to the std::pair class.
| * | emu_window: unsigned -> u32Gravatar Lioncash2021-04-232-21/+21
| |/ | | | | | | This is more concise and consistent with the rest of the codebase.
* / 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 #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-161-6/+4
|\ | | | | nvdrv: Cleanup CDMA Processor on device closure
| * nvdrv: Cleanup CDMA Processor on device closureGravatar Chloe Marcec2021-03-301-6/+4
| | | | | | | | Brings us a step closer to unifying all channels to share a common interface.
* | 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-154-280/+7
| |
* | Merge pull request #6196 from bunnei/asserts-settingGravatar bunnei2021-04-1445-461/+53
|\ \ | | | | | | core: settings: Add setting for debug assertions and disable by default.
| * | common: Move settings to common from core.Gravatar bunnei2021-04-1445-462/+53
| | | | | | | | | | | | - Removes a dependency on core and input_common from common.
| * | core: settings: Add setting for debug assertions and disable by default.Gravatar bunnei2021-04-141-0/+1
| | | | | | | | | | | | | | | | | | - 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.
* | | k_resource_limit: Minor cleanup of member variables/headersGravatar ameerj2021-04-144-21/+13
| | |
* | | 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.
* | | 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-111-0/+1
|\ \ \ | |/ / |/| | configure_graphics: Add Borderless Windowed fullscreen mode
| * | configure_graphics: Add Borderless Windowed fullscreen modeGravatar Morph2021-04-061-0/+1
| | | | | | | | | | | | | | | | | | 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 #6170 from Morph1984/more-time-fixesGravatar bunnei2021-04-116-21/+38
|\ \ \ | | | | | | | | service: time: Setup the network clock with the local clock context
| * | | service: time: Setup the network clock with the local clock contextGravatar Morph2021-04-086-21/+38
| | | | | | | | | | | | | | | | Setting the network time allows some time based events using the network clock to not reset.
* | | | Merge pull request #6167 from Morph1984/time-fixGravatar bunnei2021-04-101-3/+8
|\ \ \ \ | | | | | | | | | | service: time: Fix CalculateStandardUserSystemClockDifferenceByUser
| * | | | service: time: Fix CalculateStandardUserSystemClockDifferenceByUserGravatar Morph2021-04-071-3/+8
| | | | | | | | | | | | | | | | | | | | CalculateStandardUserSystemClockDifferenceByUser passes in the ClockSnapshots through 2 input buffers and not as raw arguments. Fix this by reading the 2 input buffers instead of popping raw arguments.
* | | | | Merge pull request #6112 from ogniK5377/pctlGravatar bunnei2021-04-106-31/+254
|\ \ \ \ \ | | | | | | | | | | | | pctl: Rework how pctl works to be more accurate
| * | | | | Addressed issuesGravatar Chloe Marcec2021-03-302-21/+22
| | | | | |
| * | | | | pctl: Rework how pctl works to be more accurateGravatar Chloe Marcec2021-03-276-31/+253
| | | | | | | | | | | | | | | | | | | | | | | | Introduces the usage of compatibilities to allow it the module to be closer to how it works on hardware.