| Age | Commit message (Collapse) | Author |
|
Used by LovePotion Lua Homebrew. Stubbed to return 100% charge.
|
|
Seems to be the power controller. Listed in switchbrew under the category PTM services.
|
|
In the kernel, there isn't a singular handle table that everything gets
tossed into or used, rather, each process gets its own handle table that
it uses. This currently isn't an issue for us, since we only execute one
process at the moment, but we may as well get this out of the way so
it's not a headache later on.
|
|
This should be comparing against the queried process' vma_map, not the
current process'. The only reason this hasn't become an issue yet is we
currently only handle one process being active at any time.
|
|
button rotation
This is a subset of the better-hid-2 changes, this fixes input in various games which don't support dual joycons. This pr will search for the next best controller which is supported by the current game
|
|
svc: Add missing sanitizing checks for MapSharedMemory/UnmapSharedMemory
|
|
service: Update function tables
|
|
aoc_u: Stub GetAddOnContentListChangedEvent
|
|
hid: Minor cleanup-related changes
|
|
This event signals the game when new DLC is purchased from the eShop while the game is running. Since, for the forseeable future, yuzu will not have this ability, it seems safe to stub with a dummy event that will never fire. This is needed to boot Sonic Mania Plus (update v1.04).
|
|
Fixes a fatal crash on start when deriving keys.
|
|
When writing VFS, it initally seemed useful to include a function to in-place convert container files into directories in one homogenous directory structure, but re-evaluating it now there have been plenty of chances to use it and there has always been a better way. Removing as it is unused and likely will not be used.
|
|
Needed by arms due to new hid rework
|
|
Updated based off information provided by Switchbrew.
|
|
Updated based off information provided by Switchbrew.
|
|
Updated based off information provided by Switchbrew.
|
|
Updated based off information provided by switchbrew.
|
|
Updated based off information provided by Switchbrew.
|
|
Added based off information provided by Switchbrew
|
|
Updated based off information provided by Switchbrew.
|
|
Updated based on information from Switchbrew.
|
|
svc: Add missing error checks in svcArbitrateLock/svcArbitrateUnlock
|
|
content_archive: Minor reorganization changes
|
|
Used better names for mm:u and fixed a bad stub
|
|
svcArbitrateLock/svcArbitrateUnlock
The kernel itself checks whether or not the provided addresses are word
aligned before continuing, so we should be doing the same.
|
|
Aligning on 4KB pages isn't a Switch-specific thing, so this can be
moved to common so it can be used with other things as well.
|
|
CpuCore already does this sort of checking, so we can just call that
instead of duplicating the assertions.
|
|
XCI: Add function for checking the existence of the program NCA
|
|
InitializeWithId needs to return an id which is a u32 which should be a non zero value
|
|
Now that the changes clarifying the address spaces has been merged, we
can wrap the checks that the kernel performs when mapping shared memory
(and other forms of memory) into its own helper function and then use
those within MapSharedMemory and UnmapSharedMemory to complete the
sanitizing checks that are supposed to be done.
|
|
swap.h only needs to be present in the header for the type aliases and
definitions, it's not actually needed in the cpp files though. input.h
is just unused entirely in xpad.h
|
|
Given it's unused, we may as well toss it.
|
|
LedPattern's constructor
|
|
This is only useful in headers.
|
|
This is just a lookup table, and since it's private, there's nothing
really stateful about it, so we can just move it into the cpp file.
|
|
This literally does nothing.
|
|
These classes are non-trivial and are definitely going to be changed in
the future, so we default these to prevent issues with forward
declarations, and to keep the compiler from inlining tear-down code.
|
|
cpp file
The destructor doesn't need to be a pure-virtual function.
|
|
"Better Hid" Rework Part 1
|
|
Implement flushing in the rasterizer cache
|
|
svc: Clarify enum values for AddressSpaceBaseAddr and AddressSpaceSize in svcGetInfo()
|
|
|
|
savedata_factory: Add DeviceSaveData and fix TemporaryStorage
|
|
Prevents a Entry from appearing in the list twice if the user has it installed in two places (e.g. User NAND and SDMC)
|
|
Reason for the change is to allow both docked and undocked mode to work
|
|
|
|
|
|
- This will be used as a catch-all for slow-but-accurate GPU emulation paths.
|
|
std::move doesn't actually dereference the data, so it doesn't matter
whether or not the type is null.
|
|
This is only ever used within the cpp file, so it can just be an
internal function.
|