Lioncash
b25f44f4d7
service: Eliminate cases of member shadowing
Resolves a few localized instances of member variable shadowing. Brings
us a little closer to turning shadowing warnings into errors.
5 years ago
ameerj
de494b30d4
nvhost_vic: Fix device closure
Implements the OnClose method of the nvhost_vic device, and removes the remnants of an older implementation.
Also cleans up some of the surrounding code.
5 years ago
german77
9ceb9df088
glue: Add ectx:aw placeholder
5 years ago
german77
c8845b4fdf
hid: Implement SevenSixAxis and ConsoleSixAxisSensor
5 years ago
Morph
7835a7370f
ICommonStateGetter: Stub SetRequestExitToLibraryAppletAtExecuteNextProgramEnabled
- Used by Pixel Game Maker Series Werewolf Princess Kaguya
5 years ago
Morph
0357607044
program_metadata: Set a default resource size when a NPDM is not present
Sets a default size of 0x1FE00000 bytes (510 MiB) for the system_resource_size when a NPDM is not present.
5 years ago
Lioncash
e19906c9b6
emu_window: Return pair from ClipToTouchScreen() instead of tuple
This is only a 2-tuple, so it can be converted over to the std::pair
class.
5 years ago
Lioncash
19caa4ffd2
emu_window: unsigned -> u32
This is more concise and consistent with the rest of the codebase.
5 years ago
Lioncash
72481cce94
aes_util: Make use of std::span
Allows us to simplify the interface quite a bit as it will handle
contiguous sequences for us.
5 years ago
Lioncash
5bc631a7c5
acc/lbl: Remove unused variables
5 years ago
Lioncash
61f25f6eff
lm: Make use of insert_or_assign() in Log()
Avoids unnecessary default construction of an entry in cases where no
entry exists before overwriting the created entry.
5 years ago
Lioncash
0b535a371f
lm: Prevent redundant map lookups in Log()
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.
5 years ago
Lioncash
d9917dd09c
lm: Resolve -Wextra-semi warning
Resolves a trivial warning with clang.
5 years ago
Lioncash
596e303d7b
program_metadata: Explicitly specify copy/move functions
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.
5 years ago
Morph
9c8242ed3f
service: hid: Get transfer memory for InitializeSevenSixAxisSensor
5 years ago
Morph
91aadc6484
general: Write buffers before pushing raw arguments
For consistency with the rest of the service implementations
5 years ago
Lioncash
4874031e26
arp: Use type alias for issue function
Reduces some verbosity and centralizes the function details in one spot.
5 years ago
Lioncash
712a4960a5
arp: Prevent uninitialized read of launch member variable
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.
5 years ago
Lioncash
6a68568356
npad: Remove duplicated class member variable
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.
5 years ago
Morph
bebb8afcbf
time: Write buffer before pushing RESULT_SUCCESS in GetClockSnapshot
5 years ago
Morph
b8a414cea0
time: Fix GetClockSnapshotFromSystemClockContext
This removes an incorrect alignment usage and corrects the positions of the popped parameters.
- Fixes Super Kirby Clash crashing on boot
5 years ago
Morph
c46a12cd4e
applets: Send focus state change message on applet state change
Fixes the softlock after the controller applet exits in Mario Kart 8 Deluxe.
5 years ago
Morph
defdb91b37
applets: Make the applet mode a protected property of Applet
5 years ago
Morph
18770b0865
input_interpreter: Fix button hold being interpreted incorrectly on init
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.
5 years ago
Morph
01190506e8
applets/swkbd: Implement the Default Software Keyboard frontend
5 years ago
Morph
c4885be3c2
applets/swkbd: Implement the Normal and Inline Software Keyboard Applet
5 years ago
Morph
957dfba645
ILibraryAppletCreator: Implement CreateHandleStorage
Used by Monster Hunter Generations Ultimate
5 years ago
Morph
e1702e2844
hle_ipc: Add helper functions to get copy/move handles
5 years ago
Morph
169b40049c
ILibraryAppletAccessor: Demote from ERROR to DEBUG for null storage logs
Avoids unnecessary console spam when the inline software keyboard is used.
5 years ago
Morph
b04f94e80f
applets: Pass in the LibraryAppletMode each applet's constructor
5 years ago
Morph
ac87713cb8
applets: Remove the previous software keyboard applet implementation
5 years ago
bunnei
7a76bc30fa
common: Move settings to common from core.
- Removes a dependency on core and input_common from common.
5 years ago
bunnei
e7800fb6ff
core: settings: Add setting for debug assertions and disable by default.
- 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 .
5 years ago
ameerj
931ef0f8a3
k_resource_limit: Minor cleanup of member variables/headers
5 years ago
ameerj
575eb4f156
kernel/process: Replace process resource limit instance with the kernel's 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.
5 years ago
Lioncash
a49970f85a
k_thread: Remove [[nodiscard]] attribute from ClearWaitCancelled()
This function has a void return value, so this attribute doesn't apply
to it.
5 years ago
Morph
ffe138c59f
ns: Update to 12.x
5 years ago
Morph
3abe1c588a
aoc_u: Update to 12.x
5 years ago
Morph
992661e1f3
nim: Update to 12.x
5 years ago
Morph
2b9c5d0621
npns: Update to 12.x
5 years ago
Morph
6e9d0a685b
bgtc: Update to 12.x and implement OpenTaskService
5 years ago
Morph
cbc35097e3
vi: Update to 12.x
5 years ago
Morph
b29271ae6d
erpt: Update to 12.x
5 years ago
Morph
05af8f0000
btm: Update to 12.x
5 years ago
Morph
2f151af4f0
btdrv: Update to 12.x
5 years ago
german77
300c81b115
wlan: Update to 12.x
5 years ago
german77
588f5a4f1f
usb: Use proper names
5 years ago
german77
cf80875206
ITimeZoneService: Update to 12.x
5 years ago
german77
22c37e9111
spl: Update to 12.x
5 years ago
german77
37146ca67f
sfdnsres: Use proper names
5 years ago