Lioncash
724c19a307
loader: Resolve instances of variable shadowing
Eliminates variable shadowing cases across all the loaders to bring us
closer to enabling variable shadowing as an error in core.
5 years ago
Lioncash
dcb91ca4a4
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
75e0d16caa
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
a02c4686c3
glue: Add ectx:aw placeholder
5 years ago
Morph
04d9c27120
ICommonStateGetter: Stub SetRequestExitToLibraryAppletAtExecuteNextProgramEnabled
- Used by Pixel Game Maker Series Werewolf Princess Kaguya
5 years ago
Morph
1c65b3ee53
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
d363b2c7d2
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
8805233f5e
emu_window: unsigned -> u32
This is more concise and consistent with the rest of the codebase.
5 years ago
Lioncash
9c5248d101
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
502f3cef87
acc/lbl: Remove unused variables
5 years ago
Lioncash
29cd40bded
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
5ba49f188b
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
6e2040c955
lm: Resolve -Wextra-semi warning
Resolves a trivial warning with clang.
5 years ago
Lioncash
ae93402312
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
86278f5db2
service: hid: Get transfer memory for InitializeSevenSixAxisSensor
5 years ago
Morph
27eeb20001
general: Write buffers before pushing raw arguments
For consistency with the rest of the service implementations
5 years ago
Lioncash
9f39f7c041
arp: Use type alias for issue function
Reduces some verbosity and centralizes the function details in one spot.
5 years ago
Lioncash
b7d04d848d
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
39497183a6
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
8285776603
time: Write buffer before pushing RESULT_SUCCESS in GetClockSnapshot
5 years ago
Morph
a223006c50
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
51ca93981d
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
ba2c917842
applets: Make the applet mode a protected property of Applet
5 years ago
Morph
aa3adf6c3f
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
578e6c5a57
applets/swkbd: Implement the Default Software Keyboard frontend
5 years ago
Morph
5bc9f15c6d
applets/swkbd: Implement the Normal and Inline Software Keyboard Applet
5 years ago
Morph
a8c09cd5e4
ILibraryAppletCreator: Implement CreateHandleStorage
Used by Monster Hunter Generations Ultimate
5 years ago
Morph
e3e6a11ab8
hle_ipc: Add helper functions to get copy/move handles
5 years ago
Morph
0a40106cf1
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
d1e40dd244
applets: Pass in the LibraryAppletMode each applet's constructor
5 years ago
Morph
0f40c8c634
applets: Remove the previous software keyboard applet implementation
5 years ago
bunnei
a4c6712a4b
common: Move settings to common from core.
- Removes a dependency on core and input_common from common.
5 years ago
bunnei
c6c0771b12
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
2067115c78
k_resource_limit: Minor cleanup of member variables/headers
5 years ago
ameerj
5e85bc3d23
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
0fb3773924
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
9c85bcbecc
ns: Update to 12.x
5 years ago
Morph
467ef54e2a
aoc_u: Update to 12.x
5 years ago
Morph
8a9e834fc2
nim: Update to 12.x
5 years ago
Morph
e0bddf8f07
npns: Update to 12.x
5 years ago
Morph
5ce0e127da
bgtc: Update to 12.x and implement OpenTaskService
5 years ago
Morph
6af7bd02b2
vi: Update to 12.x
5 years ago
Morph
7e62452ac8
erpt: Update to 12.x
5 years ago
Morph
5ec2fdceca
btm: Update to 12.x
5 years ago
Morph
214ef2dd8a
btdrv: Update to 12.x
5 years ago
german77
09a8e08109
wlan: Update to 12.x
5 years ago
german77
ac14ef70b5
usb: Use proper names
5 years ago
german77
35abd560c4
ITimeZoneService: Update to 12.x
5 years ago
german77
e7530b341e
spl: Update to 12.x
5 years ago
german77
01928b1d17
sfdnsres: Use proper names
5 years ago