| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | | |
|
| |/ /
| |
| |
| | |
Co-authored-by: Its-Rei <kupfel@gmail.com>
|
| |\ \
| | |
| | | |
controllers/npad: Validate device handles before use
|
| | | |
| | |
| | |
| | | |
Some games such as NEKOPARA Vol. 3 send invalid device handles when calling InitializeVibrationDevice. Introduce a check to validate the device handle before use.
|
| |\ \ \
| | | |
| | | | |
fsp_srv: Implement OpenDataStorageWithProgramIndex
|
| | | | |
| | | |
| | | |
| | | | |
- Used by RollerCoaster Tycoon 3: Complete Edition
|
| | | | | |
|
| |\ \ \ \
| |_|/ /
|/| | | |
aoc_u: Stub IPurchaseEventManager and its service commands
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
- Used by Pokémon Café Mix
- Used by DOOM: Eternal
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
- Used by Pokémon Café Mix
- Used by DOOM: Eternal
|
| | |/ /
| | |
| | |
| | |
| | | |
- Used by Pokémon Café Mix
- Used by DOOM: Eternal
|
| |\ \ \
| | | |
| | | | |
vfs: Use existing type aliases consistently
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Makes use of the VirtualDir and VirtualFile aliases across the board
instead of having a few isolated places that don't use it.
|
| |\ \ \ \
| | | | |
| | | | | |
fs: Revert all std::filesystem changes
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This reverts commit 6d6115475b4edccdf1bb4e96ecc3d3b1be319e76, reversing
changes made to 5fe55b16a11d9ec607fb8a3fdddc77a4393cd96a.
|
| |\ \ \ \ \
| |/ / / /
|/| | | | |
svc: Remove unnecessary casts
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Simplifies and removes some casts. In all cases, these were generally
widening from a 32-bit unsigned type to a 64-bit unsigned type, so no
information would be lost from the conversion.
|
| |\ \ \ \ \
| |_|/ / /
|/| | | | |
nim: Stub IsLargeResourceAvailable
|
| | | | | |
| | | | |
| | | | |
| | | | | |
- Used by Immortals Fenyx Rising
|
| | | | | | |
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
network, sockets: Replace `POLL_IN`, `POLL_OUT`, etc. constants with an `enum class PollEvents`
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
`enum class PollEvents`
Actually, two enum classes, since for some reason there are two separate
yet identical `PollFD` types used in the codebase. I get that one is
ABI-compatible with the Switch while the other is an abstract type used
for the host, but why not use `WSAPOLLFD` directly for the latter?
Anyway, why make this change? Because on Apple platforms, `POLL_IN`,
`POLL_OUT`, etc. (with an underscore) are defined as macros in
<sys/signal.h>. (This is inherited from FreeBSD.) So defining
a variable with the same name causes a compile error.
I could just rename the variables, but while I was at it I thought I
might as well switch to an enum for stronger typing.
Also, change the type used for values copied directly to/from the
`events` and `revents` fields of the host *native*
`pollfd`/`WSASPOLLFD`, from `u32` to `short`, as `short` is the correct
canonical type on both Unix and Windows.
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | | |
core: Remove unnecessary enum casts in log calls
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Follows the video core PR. fmt doesn't require casts for enum classes
anymore, so we can remove quite a few casts.
|
| |\ \ \ \ \ \ \
| |_|_|_|/ / /
|/| | | | | | |
applets: Resolve variable shadowing
|
| | | |_|_|_|/
| |/| | | | |
|
| |\ \ \ \ \ \
| |_|_|_|_|/
|/| | | | | |
memory: Resolve -Wdocumentation warning for Write()
|
| | | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | | |
Write() doesn't return anything, so the @returns tag shouldn't be
present.
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
controller: Avoid unnecessary copies in ConfigurationComplete()
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
Avoids unnecessary copies.
|
| | |/ / / /
| | | | |
| | | | |
| | | | |
| | | | | |
Avoids unnecessary 1072 byte copies when querying info about
controllers.
|
| |\ \ \ \ \
| |/ / / /
|/| | | | |
Disable analog joystick from buttons by default
|
| | | | | | |
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
CMakeLists,network: Create YUZU_UNIX macro to replace __unix__
|
| | | |/ / /
| |/| | |
| | | | |
| | | | | |
__unix__ is not predefined on Apple platforms even though they are Unix.
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
core: Mark unused fields as [[maybe_unused]]
|
| | |/ / / / |
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
hle: Type check ResponseBuilder::Push arguments, and fix use in vi.cpp
|
| | |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- 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`.
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
nvdrv: Remove useless re-declaration of pure virtual methods that were already declared in the superclass
|
| | |/ / / /
| | | | |
| | | | |
| | | | | |
already declared in the superclass
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
boxcat: Avoid unnecessary object copy
|
| | |/ / / / |
|
| |\ \ \ \ \
| |_|_|/ /
|/| | | | |
video_core: Resolve more variable shadowing scenarios pt.3
|
| | |/ / /
| | | |
| | | |
| | | |
| | | | |
Cleans out the rest of the occurrences of variable shadowing and makes
any further occurrences of shadowing compiler errors.
|
| |/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
`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>`.
|
| | |/
|/| |
|
| |\ \
| | |
| | | |
Kernel: Refactor to use 4-instances of Dynarmic & various cleanups and improvements
|
| | | | |
|
| | | | |
|