aboutsummaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2021-04-24Merge pull request #6230 from Morph1984/default-resource-sizebunnei
program_metadata: Set a default resource size when a NPDM is not present
2021-04-23Merge pull request #6227 from lioncash/metabunnei
program_metadata: Explicitly specify copy/move operators/functions
2021-04-23hid: Implement SevenSixAxis and ConsoleSixAxisSensorgerman77
2021-04-23ICommonStateGetter: Stub ↵Morph
SetRequestExitToLibraryAppletAtExecuteNextProgramEnabled - Used by Pixel Game Maker Series Werewolf Princess Kaguya
2021-04-23Merge pull request #6228 from lioncash/semibunnei
lm: Resolve -Wextra-semi warning
2021-04-23Merge pull request #6229 from lioncash/unused-varbunnei
acc/lbl: Remove unused variables
2021-04-23Merge pull request #6231 from lioncash/aesbunnei
aes_util: Make use of std::span
2021-04-23program_metadata: Set a default resource size when a NPDM is not presentMorph
Sets a default size of 0x1FE00000 bytes (510 MiB) for the system_resource_size when a NPDM is not present.
2021-04-23Merge pull request #6232 from lioncash/alias2bunnei
emu_window: unsigned -> u32
2021-04-23emu_window: Return pair from ClipToTouchScreen() instead of tupleLioncash
This is only a 2-tuple, so it can be converted over to the std::pair class.
2021-04-23emu_window: unsigned -> u32Lioncash
This is more concise and consistent with the rest of the codebase.
2021-04-23aes_util: Make use of std::spanLioncash
Allows us to simplify the interface quite a bit as it will handle contiguous sequences for us.
2021-04-23acc/lbl: Remove unused variablesLioncash
2021-04-23lm: Make use of insert_or_assign() in Log()Lioncash
Avoids unnecessary default construction of an entry in cases where no entry exists before overwriting the created entry.
2021-04-23lm: Prevent redundant map lookups in Log()Lioncash
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.
2021-04-23lm: Resolve -Wextra-semi warningLioncash
Resolves a trivial warning with clang.
2021-04-23program_metadata: Explicitly specify copy/move functionsLioncash
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.
2021-04-22service: hid: Get transfer memory for InitializeSevenSixAxisSensorMorph
2021-04-21Merge pull request #6214 from Morph1984/time-fix-kirby-clashbunnei
time: Fix GetClockSnapshotFromSystemClockContext
2021-04-19Merge pull request #6217 from Morph1984/consistent-writebuffersbunnei
general: Write buffers before pushing raw arguments
2021-04-19Merge pull request #6215 from lioncash/duplicatebunnei
npad: Remove duplicated class member variable
2021-04-19general: Write buffers before pushing raw argumentsMorph
For consistency with the rest of the service implementations
2021-04-19arp: Use type alias for issue functionLioncash
Reduces some verbosity and centralizes the function details in one spot.
2021-04-19arp: Prevent uninitialized read of launch member variableLioncash
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.
2021-04-19npad: Remove duplicated class member variableLioncash
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.
2021-04-19time: Write buffer before pushing RESULT_SUCCESS in GetClockSnapshotMorph
2021-04-19time: Fix GetClockSnapshotFromSystemClockContextMorph
This removes an incorrect alignment usage and corrects the positions of the popped parameters. - Fixes Super Kirby Clash crashing on boot
2021-04-17applets: Send focus state change message on applet state changeMorph
Fixes the softlock after the controller applet exits in Mario Kart 8 Deluxe.
2021-04-17applets: Make the applet mode a protected property of AppletMorph
2021-04-16Merge pull request #6125 from ogniK5377/nvdec-close-devbunnei
nvdrv: Cleanup CDMA Processor on device closure
2021-04-15input_interpreter: Fix button hold being interpreted incorrectly on initMorph
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.
2021-04-15applets/swkbd: Implement the Default Software Keyboard frontendMorph
2021-04-15applets/swkbd: Implement the Normal and Inline Software Keyboard AppletMorph
2021-04-15ILibraryAppletCreator: Implement CreateHandleStorageMorph
Used by Monster Hunter Generations Ultimate
2021-04-15hle_ipc: Add helper functions to get copy/move handlesMorph
2021-04-15ILibraryAppletAccessor: Demote from ERROR to DEBUG for null storage logsMorph
Avoids unnecessary console spam when the inline software keyboard is used.
2021-04-15applets: Pass in the LibraryAppletMode each applet's constructorMorph
2021-04-15applets: Remove the previous software keyboard applet implementationMorph
2021-04-14Merge pull request #6196 from bunnei/asserts-settingbunnei
core: settings: Add setting for debug assertions and disable by default.
2021-04-14common: Move settings to common from core.bunnei
- Removes a dependency on core and input_common from common.
2021-04-14core: settings: Add setting for debug assertions and disable by default.bunnei
- 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.
2021-04-14k_resource_limit: Minor cleanup of member variables/headersameerj
2021-04-13Merge pull request #6185 from ameerj/process-reslimitbunnei
kernel/process: Replace process resource limit instance with the kernel's resource limit
2021-04-12kernel/process: Replace process resource limit instance with the kernel's ↵ameerj
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.
2021-04-12k_thread: Remove [[nodiscard]] attribute from ClearWaitCancelled()Lioncash
This function has a void return value, so this attribute doesn't apply to it.
2021-04-11Merge pull request #6135 from Morph1984/borderless-windowed-fullscreenbunnei
configure_graphics: Add Borderless Windowed fullscreen mode
2021-04-11Merge pull request #6170 from Morph1984/more-time-fixesbunnei
service: time: Setup the network clock with the local clock context
2021-04-10Merge pull request #6167 from Morph1984/time-fixbunnei
service: time: Fix CalculateStandardUserSystemClockDifferenceByUser
2021-04-10Merge pull request #6112 from ogniK5377/pctlbunnei
pctl: Rework how pctl works to be more accurate
2021-04-10Merge pull request #6172 from degasus/cmake_opusbunnei
externals: Search for shared opus installation.