| Age | Commit message (Collapse) | Author |
|
Avoids unnecessary 1072 byte copies when querying info about
controllers.
|
|
core: Mark unused fields as [[maybe_unused]]
|
|
hle: Type check ResponseBuilder::Push arguments, and fix use in vi.cpp
|
|
nvdrv: Remove useless re-declaration of pure virtual methods that were already declared in the superclass
|
|
boxcat: Avoid unnecessary object copy
|
|
video_core: Resolve more variable shadowing scenarios pt.3
|
|
`PhysicalCore`'s move assignment operator was declared as `= default`,
but was implicitly deleted because `PhysicalCore` has fields
of reference type. Switch to explicitly deleting it to avoid a Clang
warning.
The move *constructor* is still defaulted, and is required to exist due
to the use of `std::vector<PhysicalCore>`.
|
|
- Add a type check so that calling Push with an invalid type produces a
compile error rather than a linker error.
- vi.cpp was calling Push with a variable of type `std::size_t`.
There's no explicit overload for `size_t`, but there is one for `u64`,
which on most platforms is the same type as `size_t`. On macOS,
however, it isn't: both types are 64 bits, but `size_t` is `unsigned
long` and `u64` is `unsigned long long`. Regardless, it makes more
sense to explicitly use `u64` here instead of `size_t`.
|
|
|
|
|
|
already declared in the superclass
|
|
Cleans out the rest of the occurrences of variable shadowing and makes
any further occurrences of shadowing compiler errors.
|
|
Kernel: Refactor to use 4-instances of Dynarmic & various cleanups and improvements
|
|
audio_core: Make shadowing and unused parameters errors
|
|
Moves the audio code closer to enabling warnings as errors in general.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
hid: Check if applet_resource exists in InitializeVibrationDevice
|
|
|
|
HID: Stub set and get NpadCommunicationMode
|
|
Now there's only two meaningful instances left in core.
|
|
|
|
Completely removes all usages of the global system instance within the
services code by passing in the using system instance to the services.
|
|
nvdrv, video_core: Don't index out of bounds when given invalid syncpoint ID
|
|
nvservices: Reintroducee IoctlCtrl
|
|
|
|
- This is used by Super Mario 3D All-Stars.
|
|
* hle: services: Fix a crash with improper NVFlinger lifetime management.
- This crash would happen when attempting to shutdown yuzu early on in boot.
|
|
- Use .at() instead of raw indexing when dealing with untrusted indices.
- For the special case of WaitFence with syncpoint id UINT32_MAX,
instead of crashing, log an error and ignore. This is what I get when
running Super Mario Maker 2.
|
|
svc: Remove unnecessary [[maybe_unused]] tag
|
|
Fixes regression caused by #4907 which caused games like Breath of the Wild 1.0.0 not to boot.
|
|
The parameter is used in this function, so this suppression isn't
necessary.
|
|
patch_manager: Remove usages of the global system instance
|
|
core: Make nvservices more standardized
|
|
|
|
functions.
- Used by Animal Cross: New Horizons v1.6.0 update, minimal stub gets this update working.
|
|
With this, only 19 usages of the global system instance remain within
the core library.
We're almost there.
|
|
Upon further investigation, these commands allow temporary vibrations even when the "Controller Vibration" system setting is disabled. As a result, vibrations are allowed when either the system setting or this flag is set to true. Therefore, we can only block vibrations when both flags are set to false.
|
|
|
|
|
|
Previously we used a vibration filter that filters out amplitudes close to each other. It turns out there are cases where this results into vibrations that are too inaccurate. Remove this and move the 100Hz vibration filter (Only allowing a maximum of 100 vibrations per second) from sdl_impl to npad when enable_accurate_vibrations is set to false.
|
|
|
|
A vibration device is an input device that returns an unsigned byte as status.
It represents whether the vibration device supports vibration or not.
If the status returns 1, it supports vibration. Otherwise, it does not support vibration.
|