Morph
a9cfe06aaf
IPurchaseEventManager: Stub Set(Default)DeliveryTarget
- Used by Pokémon Café Mix
- Used by DOOM: Eternal
5 years ago
Morph
009bdb3558
aoc_u: Stub Create(Permanent)EcPurchasedEventManager
- Used by Pokémon Café Mix
- Used by DOOM: Eternal
5 years ago
Lioncash
a44ff5ed31
memory: Resolve -Wdocumentation warning for Write()
Write() doesn't return anything, so the @returns tag shouldn't be
present.
5 years ago
Morph
e15039372e
fsp_srv: Implement OpenDataStorageWithProgramIndex
- Used by RollerCoaster Tycoon 3: Complete Edition
5 years ago
Morph
0eb6c6cd83
file_sys: Consolidate common Title ID operations
5 years ago
Lioncash
6b7320add4
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.
5 years ago
Lioncash
215cfbb757
controller: Use std::move within ConvertToFrontendParameters()
Avoids unnecessary copies.
5 years ago
Lioncash
97dd67ad1c
controller: Avoid unnecessary copies in ConfigurationComplete()
Avoids unnecessary 1072 byte copies when querying info about
controllers.
5 years ago
german
b57ba7bfb6
Disable analog joystick from buttons by default
5 years ago
comex
0791082b43
network, sockets: Replace `POLL_IN`, `POLL_OUT`, etc. constants with an `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.
5 years ago
comex
e31cb50405
Fix "explicitly defaulted but implicitly deleted" warning
`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>`.
5 years ago
comex
3373149fdc
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`.
5 years ago
comex
0e122c13ad
CMakeLists,network: Create YUZU_UNIX macro to replace __unix__
__unix__ is not predefined on Apple platforms even though they are Unix.
5 years ago
comex
feac654ba0
core: Mark unused fields as [[maybe_unused]]
5 years ago
comex
5cb1a343d1
boxcat: Avoid unnecessary object copy
5 years ago
comex
716ae72aac
nvdrv: Remove useless re-declaration of pure virtual methods that were already declared in the superclass
5 years ago
bunnei
1bdb756d28
hle: kernel: Process: Various style fixes based on code review feedback.
5 years ago
bunnei
d4ae0ae0e9
core: cpu_manager: Fix a typo in PreemptSingleCore, which broke many games.
- We were reload'ing the old current scheduler, which may have changed.
5 years ago
bunnei
9b492430bb
hle: kernel: Thread: Various style fixes based on code review feedback.
5 years ago
bunnei
ed4d1e2ade
hle: kernel: KScopedSchedulerLockAndSleep: Various style fixes based on code review feedback.
5 years ago
bunnei
b1b4f2337e
hle: kernel: KScopedLock: Various style fixes based on code review feedback.
5 years ago
bunnei
165d8485f0
hle: kernel: KAbstractSchedulerLock: Various style fixes based on code review feedback.
5 years ago
bunnei
960500cfd2
hle: kernel: KScheduler: Various style fixes based on code review feedback.
5 years ago
bunnei
8fd921557f
hle: kernel: KPriorityQueue: Various style fixes based on code review feedback.
5 years ago
bunnei
4d3be1816c
hle: kernel: KAffinityMask: Various style fixes based on code review feedback.
5 years ago
bunnei
357d79fb6e
hle: kernel: GlobalSchedulerContext: Various style fixes based on code review feedback.
5 years ago
bunnei
b1326d9230
hle: kernel: Use C++ style comments in KScheduler, etc.
5 years ago
bunnei
bc59ca92b6
kernel: KScopedSchedulerLockAndSleep: Remove unused ctor.
5 years ago
bunnei
b9b7e4f915
kernel: time_manager: Add missing lock guards.
5 years ago
bunnei
ccce6cb3be
hle: kernel: Migrate to KScopedSchedulerLock.
5 years ago
bunnei
4756cb203e
hle: kernel: Separate KScopedSchedulerLockAndSleep from k_scheduler.
5 years ago
bunnei
8d3e06349e
hle: kernel: Separate KScheduler from GlobalSchedulerContext class.
5 years ago
bunnei
9e29e36a78
hle: kernel: Rewrite scheduler implementation based on Mesopshere.
5 years ago
bunnei
c10a37e5b6
hle: kernel: physical_core: Clear exclusive state after each run.
- This is closer to pre-multicore behavior, and works a bit better.
5 years ago
bunnei
7e5d0f1fe3
hle: kernel: Port KAbstractSchedulerLock from Mesosphere.
5 years ago
bunnei
39d356782e
hle: kernel: svc: Remove reschedule on svcBreak.
- This breaks things, and is unnecessary, since emulation will be done at this point.
5 years ago
bunnei
d58a609ae4
hle: kernel: process: Add schedule count tracking, to be used for yield impl.
5 years ago
bunnei
493263f415
hle: kernel: svc: Remove unnecessary hack in svcSleep.
5 years ago
bunnei
a3ccac3eb7
common: Port KPriorityQueue from Mesosphere.
5 years ago
bunnei
e18ee8d681
hle: kernel: Port KAffinityMask from Mesosphere.
5 years ago
Lioncash
f95602f152
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.
5 years ago
Morph
f6d4a289d5
applets: Resolve variable shadowing
5 years ago
Chloe Marcec
7fbeb489d3
system_version: Update to 11.0.0
5 years ago
Morph
c2f83c04cb
nim: Stub IsLargeResourceAvailable
- Used by Immortals Fenyx Rising
5 years ago
Lioncash
1ea6bdef05
audio_core: Make shadowing and unused parameters errors
Moves the audio code closer to enabling warnings as errors in general.
5 years ago
bunnei
4b9e1b6586
kernel: scheduler: Minor cleanup to remove duplicated code.
5 years ago
bunnei
b7ef581c6e
kernel: time_manager: Protect access with a mutex.
5 years ago
bunnei
c2ad1243ba
hle: kernel: thread: Remove unused "Running" state.
5 years ago
bunnei
63fd1bb503
core: arm: Implement InvalidateCacheRange for CPU cache invalidation.
5 years ago
bunnei
c0870315fd
hle: kernel: time_manager: Avoid a crash on process exit.
5 years ago