| Age | Commit message (Collapse) | Author |
|
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.
|
|
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.
|
|
loader: Make IdentifyFile typesafe
|
|
In some rare instances, the patch manager is not able to find a control nca, fallback to the previous method of parsing a control nca through the loader if this occurs.
|
|
Previously NAND/SDMC installed titles would open device saves when they are supposed to be user saves. This is due to the control nca not being read and thus returns 0 for both GetDefaultNormalSaveSize() and GetDeviceSaveDataSize(). Fix this by utilizing the patch manager to read the control nca.
|
|
Previously the map of entries was being cleared while looping through each game directory, this resulted into all game directories except the last game dir to lose content metadata information. Fix this by clearing the entries only once.
|
|
time_zone_binary: Make use of designated initializers
|
|
vi: IApplicationDisplayService:GetIndirectLayerImageRequiredMemoryInfo
|
|
hle: nvdrv: Rewrite of GPU memory management.
|
|
renderer_opengl: Use 1/4 of all threads for async shader compilation
|
|
game_list_worker: Fix game list subdirectory scanning
|
|
perf_stats: Mark GetMeanFrametime() as const
|
|
vk_texture_cache: Silence -Wmissing-field-initializer warnings
|
|
patch_manager: Resolve -Wignored-qualifier warnings
|
|
yuzu: Resolve C++20 deprecation warnings related to lambda captures
|
|
profile_manager: Make use of designated initializers
|
|
dmnt_cheat_vm: Make use of designated initializers
|
|
fsp-srv: Stub Read/WriteSaveDataFileSystemExtraDataWithMaskBySaveDataAttribute
|
|
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.
|
|
tests/core_timing: Remove pragma optimize(off)
|
|
service/ldr: Resolve sign mismatch warnings
|
|
registered_cache: Resolve -Wmaybe_uninitialized warnings
|
|
sm: Make use of IsBaseOf for GetService
|
|
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.
|
|
|
|
C++20 deprecates capturing the this pointer via the '=' capture.
Instead, we replace it or extend the capture specification.
|
|
We were performing an int < size_t comparison. We can just correct the
type of the induction variable.
|
|
This switch is enabled by default in all recent versions of GCC and
Clang.
|
|
I made a review comment about this in the PR that this was introduced
in (#3955, commit 71c4779211dc081a3b2dd4af52edad5748e7a7f5), but it
seems to have been missed.
We shouldn't be using this pragma here because it's MSVC specific. This
causes warnings on other compilers.
The test it's surrounding is *extremely* dubious, but for the sake of
silencing warnings on other compilers, we can mark "placebo" as volatile
and be on with it.
|
|
file_sys/mode: Make use of DECLARE_ENUM_FLAG_OPERATORS with Mode
|
|
|
|
Same behavior, less code.
|
|
Allows compilers to eliminate unnecessary zeroing out of the optional's
buffer.
|
|
|
|
Allows some implementations to completely avoid unnecessarily zeroing
out the internal buffer.
|
|
More compact code.
|
|
Allows for more compact code.
|
|
Same behavior, minus a hand-rolled operator.
|
|
|
|
Top level const will always be ignored in this case, so it can be
removed.
|
|
While we're at it, we can avoid a redundant map lookup.
|
|
|
|
Relies on #4465 for concept.h Common::IsBaseOf
|
|
WriteBuffer (#4465)
* ipc: Allow all trivially copyable objects to be passed directly into WriteBuffer
With the support of C++20, we can use concepts to deduce if a type is an STL container or not.
* More agressive concept for stl containers
* Add -fconcepts
* Move to common namespace
* Add Common::IsBaseOf
|
|
screenshots: Option to save screenshots immediately in a specified directory + Linux workaround
|
|
cpu_manager: Remove redundant std::function declarations
|
|
yuzu/main: Remove redundant usages of QStringLiteral("")
|
|
|
|
|