Age | Commit message (Collapse) | Author |
|
kernel/error: Amend error return code values
|
|
profile_manager: Use std::optional instead of boost::optional
|
|
npad: Remove unused controller variable from OnInit()
|
|
perf_stats: Remove unused variable within DoFrameLimiting()
|
|
aoc_u: Make use of previously-unused CheckAOCTitleIDMatchesBase() function
|
|
file_sys: Remove unused variables
|
|
Now that we've gotten the innaccurate error codes out of the way, we can
finally toss away a bunch of these, trimming down the error codes to
ones that are actually used and knocking out two TODO comments.
|
|
ERR_INVALID_COMBINATION
This is more consistent with what the kernel does.
|
|
|
|
This is what the kernel does in this instance.
|
|
These are now entirely unused and can be removed.
|
|
Like with the previous change, the kernel doesn't return NOT_AUTHORIZED
here. It returns INVALID_THREAD_PRIORITY.
|
|
priorities in SetThreadPriority()
All priority checks are supposed to occur before checking the validity
of the thread handle, we're also not supposed to return
ERR_NOT_AUTHORIZED here.
|
|
The kernel appears to return 0xE601 for this situation. Particularly in
svcWaitSynchronization, svcReplyAndReceive, and svcGetThreadContext
|
|
The kernel appears to return 0xF601 for this case.
|
|
Now that we can actually use std::optional on macOS, we don't need to
continue using boost::optional here.
|
|
qt: Add UI to manage emulated user profiles
|
|
This also gets rid of variable shadowing related to the lambda parameter
a little bit below this code as well.
|
|
This hasn't been used since ba8ff096fdc9f7ab101851c4cd06c3244a7d84c3
|
|
We can just call the function instead of duplicating the code here. This
also prevents an unused function warning.
We also don't need to take the lambda capture by reference. It's just a
u64 value, so by value is fine here.
|
|
Also gets rid of an unused variable.
|
|
|
|
Added break types to svcBreak
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fixed conflict with nfp
* Few fixups for nfc
* Conflict 2
* Fixed AttachAvailabilityChangeEvent
* Conflict 3
* Fixed byte padding
* Refactored amiibo to not reside in "System"
* Removed remaining references of nfc from system
* used enum for Nfc GetStateOld
* Added missing newline
* Moved file operations to front end
* Conflict 4
* Amiibos now use structs and added mutexes
* Removed amiibo_path
|
|
patch_manager: Add support for LayeredFS on DLC RomFS
|
|
kernel/process: Make the handle table per-process
|
|
|
|
There seems to be more such as type 1, and 2. Unsure what these currently are but when a game hits them we can investigate and add the rest
|
|
psm: Add psm service and stub commands 0 and 1
|
|
svc: Fix vma boundary check in svcQueryMemory
|
|
Used by LovePotion Lua Homebrew. Stubbed as connected to official Nintendo Switch dock.
|
|
|
|
Updated based off information provided by Switchbrew.
|
|
Added based off information provided by Switchbrew.
|
|
Updated based off information from Switchbrew
|
|
Also introduces the new prepo:a2 service.
Updated based off information provided by Switchbrew.
|
|
Updated based off information provided by Switchbrew.
|
|
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
|