| Age | Commit message (Collapse) | Author |
|
hid: Implement GameCube Controller Vibrations
|
|
Implements both SendVibrationGcErmCommand and GetActualVibrationGcErmCommand, and modifies GetVibrationDeviceInfo to account for additional controllers.
|
|
This command returns a Nintendo Account ID and writes 2 output buffers. The first output buffer is a NasUserBaseForApplication and the second output buffer is currently empty.
Used by:
- Pokken Tournament DX
- Super Smash Bros. Ultimate
- Super Nintendo Entertainment System - Nintendo Switch Online
- Mario Kart 8 Deluxe
|
|
After rewriting the resource limit, objects releasing reserved resources require a live kernel instance.
This commit fixes exceptions that occur due to the kernel being destroyed before some objects released their resources, allowing for a graceful exit.
|
|
nvdec: Reuse allocated buffers and general cleanup
|
|
- Avoids a lot of unnecessary 128-bit math for imperceptible accuracy.
|
|
core/CMakeLists: Add web_types.h
|
|
HID: Implement GC controller in game
|
|
|
|
|
|
disabled.
- Fixes crash on Pokemon Sword/Shield when pressing 'Y'.
|
|
|
|
Co-Authored-By: LC <712067+lioncash@users.noreply.github.com>
|
|
|
|
|
|
This implements KScopedReservation, allowing resource limit reservations to be more HW accurate, and release upon failure without requiring too many conditionals.
|
|
* kernel: Unify result codes
Drop the usage of ERR_NAME convention in kernel for ResultName. Removed seperation between svc_results.h & errors.h as we mainly include both most of the time anyways.
* oops
* rename errors to svc_results
|
|
core: Silence various warnings on Clang 12
|
|
input_common: Add mouse panning
|
|
|
|
Prevents a operator delete error when compiling with Clang 11.
|
|
Clang 12 currently falls over in the face of this.
|
|
Prevents warnings on clang 12. This path is reachable on other
variations of the build that disable the unreachable macro.
|
|
We were previously the name of the object being initialized within its
own initializer, which results in uninitialized data being read.
|
|
olsc: Stub GetSaveDataBackupSetting
|
|
Prevent over scheduling audio events and add motion update unschedule event
|
|
|
|
Settings: Make settings controller image change with controller input
|
|
|
|
|
|
svc: Provide more detailed error logs for svc functions
|
|
lm: Fix ReadLeb128
|
|
pl_u: Fix read out of bounds
|
|
Fixes assertion on Bloodstained Ritual of the Night.
We would over read sometimes, this is fixed by checking if the top bit is set in the first iteration. We also lock the loop off to be only the max size of the type we can fit. Finally we changed an incorrect print of "DEBUG" to "TRACE" to reflect the proper log severity
|
|
k_address_arbiter: Minor cleanup
|
|
|
|
|
|
HID: Update the HID service to match more closely to switchbrew part 1
|
|
Allows for more descriptive error messages and also doesn't hide
control-path exit returns from the reader.
|
|
This is a useful function in a generic context or with types that
overload unary operator&. However, primitives and pointers will never do
this, so we can opt for a more straightforward syntax.
|
|
This code is never used, so we can remove it. It's in version control,
so it can always be brought back when needed.
|
|
Allows SVC calls to have much more informative information during error
cases. This also doesn't hide control flow returns from the reader.
|
|
Kernel Rework: Refactor KEvent/KReadableEvent/KWritableEvent
|
|
k_priority_queue: Minor cleanup
|
|
|
|
|
|
|
|
|
|
|
|
|