| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | |/ / / / / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
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.
|
| |/ / / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Prevents a useless self-assignment from occurring.
|
| |\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
cheat_engine: Resolve implicit bool->u64 conversion
|
| | | |/ / / / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | | |
We can just return zero here.
|
| |\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
General: Tidy up clang-format warnings part 2
|
| | | | | | | | | | |
|
| |\ \ \ \ \ \ \ \ \
| |/ / / / / / / /
|/| | | | | | | | |
freezer: Make use of std::erase_if
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Cleans up the callsites in other functions.
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
VAddr will always be 64-bit, so there's no need to take a trivial
primitive alias by reference.
|
| | |/ / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | | |
With C++20 we can simplify the erasing idiom.
|
| |\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
cheat_engine: Make use of designated initializers
|
| | |/ / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Same behavior, but makes the member being assigned obvious.
|
| |\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
kernel: Remove unused variables
|
| | | |/ / / / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | | |
Resolves a few compiler warnings.
|
| |\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
vfs_vector: Make creation of array vfs files less verbose
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
We can add a helper function to make creation of these files nicer.
While we're at it, we can eliminate an unnecessary std::array copy in
the constructor. This makes the overhead on some of these functions way
less intensive, given some arrays were quite large.
e.g. The timezone location names are 9633 bytes in size.
|
| |\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
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.
|
| |\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
partition_data_manager: Make data arrays constexpr
|
| | | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Fills in some hashes that were previously unhandled.
|
| | | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Previously the constructor for all of these would run at program
startup, consuming time before the application can enter main().
This is also particularly dangerous, given the logging system wouldn't
have been initialized properly yet, yet the program would use the logs
to signify an error.
To rectify this, we can replace the literals with constexpr functions
that perform the conversion at compile-time, completely eliminating the
runtime cost of initializing these arrays.
|
| |\ \ \ \ \ \ \ \ \ \ \
| |_|_|_|_|/ / / / / /
|/| | | | | | | | | | |
address_arbiter/scheduler: Resolve sign conversion warnings
|
| | | | | | | | | | | | |
|
| | | |_|_|/ / / / / /
| |/| | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Makes our type conversion explicit.
|
| |\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
ipc_helpers: Only allow trivially copyable objects with PushRaw() and PopRaw()
|
| | |/ / / / / / / / /
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
It's undefined behavior to use non-trivially copyable objects with
std::memcpy, so we can add asserts to catch usages of these at
compile-time.
|
| |\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
aes_util: Allow SetIV() to be non-allocating
|
| | | |/ / / / / / / /
| |/| | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
In a few places, the data to be set as the IV is already within an array.
We shouldn't require this data to be heap-allocated if it doesn't need
to be. This allows certain callers to reduce heap churn.
|
| |\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
buffer_queue: Make use of designated initializers/std::nullopt where applicable
|
| | | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Allows compilers to eliminate unnecessary zeroing out of the optional's
buffer.
|
| | | |_|_|_|/ / / / /
| |/| | | | | | | | |
|
| |\ \ \ \ \ \ \ \ \ \
| |_|_|/ / / / / / /
|/| | | | | | | | | |
common/atomic_ops: Don't cast away volatile from pointers
|
| | |/ / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Preserves the volatility of the pointers being casted.
|
| |\ \ \ \ \ \ \ \ \
| |_|_|_|/ / / / /
|/| | | | | | | | |
loader: Make IdentifyFile typesafe
|
| | | | | | | | | | |
|
| | | |/ / / / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | | |
Relies on #4465 for concept.h Common::IsBaseOf
|
| |\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
time_zone_binary: Make use of designated initializers
|
| | |/ / / / / / / |
|
| |\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
vi: IApplicationDisplayService:GetIndirectLayerImageRequiredMemoryInfo
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Needed for dark souls and monster hunter
|
| |\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
hle: nvdrv: Rewrite of GPU memory management.
|
| | | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Co-authored-by: LC <mathew1800@gmail.com>
|
| | | | | | | | | | | |
|
| |\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
perf_stats: Mark GetMeanFrametime() as const
|
| | | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Same behavior, but allows us to avoid a now-unnecessary zero
initialization.
|
| | | |_|_|/ / / / / /
| |/| | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
The general pattern is to mark mutexes as mutable when it comes to
matters of constness, given the mutex acts as a transient member of a
data structure.
|
| |\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
patch_manager: Resolve -Wignored-qualifier warnings
|
| | |/ / / / / / / / /
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Top level const will always be ignored in this case, so it can be
removed.
|
| |\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
yuzu: Resolve C++20 deprecation warnings related to lambda captures
|