| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Fixes build issues
|
| |\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
fsp_srv: Resolve -Wmaybe_uninitialized warning in OpenSaveDataFileSystem()
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
We can just log out the parameters in the meantime.
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Initialize id to a deterministic value and also mark the unreachable
cases in the switch with UNREACHABLE().
|
| |\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
file_sys: Replace inclusions with forward declarations where applicable
|
| | |/ / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Same behavior, minus unnecessary inclusions where not necessary.
|
| |\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
yuzu: Add motion and touch configuration from Citra
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
| |\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
hle/kernel: Fix data race in GetCurrentHostThreadID
|
| | | |_|/ / / / / / /
| |/| | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
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.
|
| |\ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / /
|/| | | | | | | | | |
Fix thread naming on Linux, which limits names to 15 bytes.
|
| | | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
- In `SetCurrentThreadName`, when on Linux, truncate to 15 bytes, as (at
least on glibc) `pthread_set_name_np` will otherwise return `ERANGE` and
do nothing.
- Also, add logging in case `pthread_set_name_np` returns an error
anyway. This is Linux-specific, as the Apple and BSD versions of
`pthread_set_name_np return `void`.
- Change the name for CPU threads in multi-core mode from
"yuzu:CoreCPUThread_N" (19 bytes) to "yuzu:CPUCore_N" (14 bytes) so it
fits into the Linux limit. Some other thread names are also cut off,
but I didn't bother addressing them as you can guess them from the
truncated versions. For a CPU thread, truncation means you can't see
which core it is!
|
| |\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
cpu_interrupt_handler: Make is_interrupted an atomic
|
| | | | | | | | | | | | |
|
| | | |/ / / / / / / /
| |/| | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Fixes a race condition detected from tsan
|
| | | | | | | | | | | |
|
| | | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
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>
|
| |\ \ \ \ \ \ \ \ \
| |_|_|_|_|_|_|_|/
|/| | | | | | | | |
registered_cache: Make use of designated initializers
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Simplifies code.
|
| | | |/ / / / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | | |
Removes the need for comments to indicate the fields being assigned.
|
| |\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
cpu_manager: Make use of ranged for where applicable
|
| | |/ / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | | |
We can simplify a few loops by making use of ranged for.
|
| |\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
key_manager: Make data arrays constexpr
|
| | |/ / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
We can convert these maps into constexpr arrays to eliminate some
runtime static constructors.
|
| |\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
vfs_real: Avoid redundant map lookups
|
| | | | | | | | | | |
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Avoids some trivially avoidable map lookups by keeping the result of
find operations around and querying them.
|
| |\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
core_timing: Resolve sign conversion warning
|
| | | | | | | | | | | |
|
| | | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Same behavior, minus unnecessary zeroing out of the pointer.
|
| | | |/ / / / / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
This constant is only ever assigned to downcount, which is a s64, not a
u64.
|
| |\ \ \ \ \ \ \ \ \
| |/ / / / / / / /
|/| | | | | | | | |
dynarmic: Add unsafe optimizations
|
| | | | | | | | | | |
|
| | |/ / / / / / /
|/| | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Migrates the Telemetry namespace into the Common namespace to make the
code consistent with the rest of our common code.
|
| |\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
common/fileutil: Convert namespace to Common::FS
|
| | |/ / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
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.
|
| |\ \ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | | |
aes_util: Make use of non-template variant of Transcode
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
We can use sizeof to make it obvious at the call site where the value is
coming from.
|
| | |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
Same behavior, less template instantiations.
|
| |\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
core: Resolve several -Wextra-semi warnings
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
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.
|
| |\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
software_keyboard: Resolve a pessimizing move warning
|
| | |/ / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
A std::vector created in place like this is already an rvalue and
doesn't need to be moved.
|
| |\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
system_control: Make functions internally linked where applicable
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
These functions are only ever used internally as implementation details
for GenerateRandomRange(), so these can be given internal linkage.
|
| |\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
kernel/scheduler: Mark SchedulerLock constructor as nodiscard
|
| | | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Ensures that callers make use of the constructor, preventing bugs from
silently occurring.
|