Age | Commit message (Collapse) | Author |
|
Extracts a singular bit, as a bool, from the specified compile-time index.
|
|
host_memory: Fix fastmem crashes in debug builds
|
|
logging: Convert `backend_thread` into an `std::jthread`
|
|
It is possible for virtual_offset to not be 0 when the iterator is at the beginning, and thus, std::prev(it) may be evaluated, leading to a crash in debug mode.
Co-Authored-By: Fernando S. <1731197+FernandoS27@users.noreply.github.com>
|
|
Was getting an unhandled `invalid_argument` [exception](https://en.cppreference.com/w/cpp/thread/thread/join) during
shutdown on my linux machine. This removes the need for a `StopBackendThread` function entirely since `jthread`
[automatically handles both checking if the thread is joinable and stopping the token before attempting to join](https://en.cppreference.com/w/cpp/thread/jthread/~jthread) in the case that `StartBackendThread` was never called.
|
|
Inlines implementation of exclusive instructions into JITted code,
improving performance of applications relying heavily on these
instructions.
We also fastmem these instructions for additional speed, with
support for appropriate recompilation on fastmem failure.
An unsafe optimization to disable the intercore global_monitor is also
provided, should one wish to rely solely on cmpxchg semantics for
safety.
See also: merryhime/dynarmic#664
|
|
- This will be used to enable emulation of a larger memory arrangement.
|
|
|
|
- Improves the implementations of MapPhysicalMemory and UnmapPhysicalMemory to more closely reflect latest HOS.
|
|
Addresses https://github.com/yuzu-emu/yuzu/issues/7881 to fix linux
builds.
`YUZU_NON_COPYABLE` deletes the `T(const T&)` constructor which will
cause the implicitly defined default ctor/dtor to no-longer generate.
|
|
service/mnpp: Stub mnpp_app
|
|
These functions allow to construct a string view from an input buffer, avoiding the copy done by the non string view counterparts. However, callers must be cognizant of the viewed buffer's lifetime to avoid a use-after-free.
|
|
Used in Super Nintendo Entertainment Systemâ„¢ - Nintendo Switch Online
|
|
|
|
The string constructor of UUID states:
Should the input string not meet the above requirements, an assert will be triggered and an invalid UUID is set instead.
|
|
This completes the removal of the old UUID implementation.
|
|
This copies the internal bytes of the UUID into a u128 for backwards compatibility. This should not be used.
|
|
|
|
This is a fixed and revised implementation of UUID that uses an array of bytes as its internal representation of a UUID instead of a u128 (which was an array of 2 u64s).
In addition to this, the generation of RFC 4122 Version 4 compliant UUIDs is also implemented.
|
|
Now that we're moved over to the YUZU_ defines, we can get rid of this
struct.
|
|
|
|
input_common: Add home and hard touch press buttons to UDP controllers
|
|
common: wall_clock: Utilize constants for ms, us, and ns ratios
|
|
Since this has a void return value, there's nothing that can actually be
used.
|
|
In addition to requiring nanosecond precision, using the native clock requires that the hardware TSC has a precision greater than the emulated CPU and its clock counter.
|
|
|
|
|
|
wall_clock: Use standard wall clock if rtsc frequency is too low
|
|
|
|
This allows us to eliminate any static constructors that would have been
emitted due to the function not being constexpr.
|
|
|
|
common: bit_util: Add IsPow2 helper function
|
|
input_common: Reintroduce motion from mouse and use button names
|
|
|
|
- When the emulator crashes to desktop below, we don't even get this captured in a log, making such issues harder to debug.
|
|
Makes use of std::has_single_bit() to check whether the value is a power of 2.
|
|
... to common/logging/formatter.h
|
|
|
|
|
|
|
|
If the build is from a non-repository, these functions will return empty. This
patch allows using defines to CMake to set version info such as
-DGIT_BRANCH=master.
|
|
common/cpu_detect: Remove CPU family and model
|
|
CallbackStatus instances aren't the cheapest things to copy around
(relative to everything else), given that they're currently 520 bytes in
size and are currently copied numerous times when callbacks are invoked.
Instead, we can pass the status by const reference to avoid all the
copying.
|
|
We currently do not make use of these fields, remove them for now.
|
|
Given these return void, these can be omitted.
|
|
Avoids copies where reasonably applicable
|
|
Avoids creating copies of the struct where not necessary.
|
|
service/notif: Add notif:a and stub ListAlarmSettings, Initialize
|
|
Used by ring fit adventure 1.2.0
|
|
|