| Age | Commit message (Collapse) | Author |
|
CalculateSpanBetween passes in the ClockSnapshots through 2 input buffers and not as raw arguments. Fix this by reading the 2 input buffers instead of popping raw arguments.
Partially fixes Super Smash Bros. Ultimate's Spirit Board
|
|
- Fixes another small leak.
|
|
- Dummy threads are created on thread local storage for all host threads.
- Fixes a leak by removing creation of fibers, which are not applicable here.
|
|
|
|
externals: Update mbedtls to 2.16.9
|
|
core: Switch to unique_ptr for usage of Common::Fiber.
|
|
|
|
Network error handling reform
|
|
- Fixes a shutdown crash due to a race condition with GPU still accessing memory.
|
|
`network.cpp` has several error paths which either:
- report "Unhandled host socket error=n" and return `SUCCESS`, or
- switch on a few possible errors, log them, and translate them to
Errno; the same switch statement is copied and pasted in multiple
places in the code
Convert these paths to use a helper function `GetAndLogLastError`, which
is roughly the equivalent of one of the switch statements, but:
- handling more cases (both ones that were already in `Errno`, and a few
more I added), and
- using OS functions to convert the error to a string when logging, so
it'll describe the error even if it's not one of the ones in the
switch statement.
- To handle this, refactor the logic in `GetLastErrorMsg` to expose a
new function `NativeErrorToString` which takes the error number
explicitly as an argument. And improve the Windows version a bit.
Also, add a test which exercises two random error paths.
|
|
core: hle: ldn: Error out on call to Initialization.
|
|
HID: Implement gestures
|
|
|
|
- Since we do not emulate LDN, returning an error here makes more sense.
|
|
- With using unique_ptr instead of shared_ptr, we have more explicit ownership of the context.
- Fixes a memory leak due to circular reference of the shared pointer.
|
|
Kernel Rework: Memory updates and refactoring (Part 1)
|
|
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
|