| Age | Commit message (Collapse) | Author |
|
With this, the kernel finally doesn't depend directly on the global
system instance anymore.
|
|
service: Remove two usages of the global system accessor
|
|
kernel/scheduler: Use std::mutex instead of spin lock
|
|
bsd: Resolve a few warnings
|
|
audio_core: Apollo Part 1, AudioRenderer refactor
|
|
Project Mjölnir: Part 2 - Controller Applet
|
|
Removes more instances of reliance on global state.
|
|
Previously the address provided to SendToImpl would never be propagated
to SendTo(). This fixes that.
|
|
|
|
Same behavior, less typing.
|
|
We can simplify this a little by explicitly specifying the typename for
the lambda function.
|
|
|
|
services: Implement most of bsd:s and GetCurrentIpAddress from nifm
|
|
- Used in multiple games such as Super Mario Odyssey.
|
|
|
|
- Some games like Shipped have a minimum requirement of 0 connected players and is undesired behavior. We must require a minimum of 1 player connected regardless of what games may ask.
|
|
Implement the fallback applet for the SDL frontend, connecting only the minimum amount of players required.
|
|
"Explain Text" is additional text that is shown for each player in the controller applet.
|
|
Co-authored-by: Its-Rei <kupfel@gmail.com>
|
|
hle/scheduler: Fix data race in is_context_switch_pending
|
|
fsp_srv: Resolve -Wmaybe_uninitialized warning in OpenSaveDataFileSystem()
|
|
file_sys: Replace inclusions with forward declarations where applicable
|
|
yuzu: Add motion and touch configuration from Citra
|
|
hle/kernel: Fix data race in GetCurrentHostThreadID
|
|
|
|
|
|
This allows homebrew applications to be able to properly detect connected controllers.
|
|
|
|
Co-authored-by: James Rowe <jroweboy@gmail.com>
Co-authored-by: Its-Rei <kupfel@gmail.com>
|
|
As reported by tsan, SelectThreads could write to
is_context_switch_pending holding a mutex while SwitchToCurrent reads it
without holding any.
It is assumed that the author didn't want an atomic here, so the code is
reordered so that whenever is_context_switch_pending is read inside
SwitchToContext, the mutex is locked.
|
|
As reported by tsan, host_thread_ids could be read while
any of the RegisterHostThread variants were called.
To fix this, lock the register mutex when yuzu is running in multicore
mode and GetCurrentHostThreadID is called.
|
|
We can just log out the parameters in the meantime.
|
|
Same behavior, minus unnecessary inclusions where not necessary.
|
|
Initialize id to a deterministic value and also mark the unreachable
cases in the switch with UNREACHABLE().
|
|
Migrates a remaining common file over to the Common namespace, making it
consistent with the rest of common files.
This also allows for high-traffic FS related code to alias the
filesystem function namespace as
namespace FS = Common::FS;
for more concise typing.
|
|
core: Resolve several -Wextra-semi warnings
|
|
software_keyboard: Resolve a pessimizing move warning
|
|
system_control: Make functions internally linked where applicable
|
|
kernel/scheduler: Mark SchedulerLock constructor as nodiscard
|
|
Prevents a useless self-assignment from occurring.
|
|
A std::vector created in place like this is already an rvalue and
doesn't need to be moved.
|
|
We can amend one of the cascade macros to require semicolons in order to
compile. In other cases, we can just remove the superfluous semicolons.
|
|
Allows the compiler to warn about cases where the constructor is used
but then immediately discarded, which is a potential cause of
locking/unlocking bugs.
|
|
|
|
kernel: Remove unused variables
|
|
am: Unstub SetScreenShotPermission
|
|
This makes it more inline with its currently unavailable standardized
analogue std::derived_from.
While we're at it, we can also make the template match the requirements
of the standardized variant as well.
|
|
address_arbiter/scheduler: Resolve sign conversion warnings
|
|
ipc_helpers: Only allow trivially copyable objects with PushRaw() and PopRaw()
|
|
buffer_queue: Make use of designated initializers/std::nullopt where applicable
|