| Commit message (Collapse) | Author | Age | Files | Lines |
| |\
| |
| | |
memory_manager: Mark IsGranularRange() as a const member function
|
| | |
| |
| |
| | |
This doesn't modify internal member state, so it can be marked as const.
|
| |\ \
| | |
| | | |
registered_cache: Make use of designated initializers
|
| | | |
| | |
| | |
| | | |
Simplifies code.
|
| | | |
| | |
| | |
| | | |
Removes the need for comments to indicate the fields being assigned.
|
| |\ \ \
| | | |
| | | | |
common/color: Migrate code over to the Common namespace
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
No external code makes use of this header, so we can freely change the
namespace.
|
| |\ \ \ \
| | | | |
| | | | | |
video_core: Initialize renderer with a GPU
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Add an extra step in GPU initialization to be able to initialize render
backends with a valid GPU instance.
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
cpu_manager: Make use of ranged for where applicable
|
| | | |_|/ /
| |/| | |
| | | | |
| | | | | |
We can simplify a few loops by making use of ranged for.
|
| | |_|_|/
|/| | |
| | | |
| | | |
| | | | |
LabelGLObject takes a string_view, so we don't need to make copies of
the std::string.
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Avoids pulling in unnecessary things that can cause rebuilds when they
aren't required.
|
| |\ \ \ \
| | | | |
| | | | | |
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.
|
| |\ \ \ \
| | | | |
| | | | | |
web_service: Move web_result.h into web_service
|
| | | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | | |
This is the only place it's actively used. It's also more appropriate
for web-related structures to be within the web service target.
Especially given this one doesn't rely on anything in the common
library.
|
| |\ \ \ \
| | | | |
| | | | | |
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.
|
| |\ \ \ \
| | | | |
| | | | | |
gl_shader_disk_cache: Make use of std::nullopt where applicable
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Allows the compiler to avoid unnecessarily zeroing out the internal
buffer of std::optional on some implementations.
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
dynarmic: Add unsafe optimizations
|
| | | | | | | |
|
| |\ \ \ \ \ \
| |_|_|/ / /
|/| | | | | |
macro-interpreter: Resolve -Wself-assign-field warning
|
| | | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | | |
This was assigning the field to itself, which is a no-op. The size
doesn't change between its initial assignment and this one, so this is a
safe change to make.
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
common/telemetry: Migrate namespace into the Common namespace
|
| | | |_|/ /
| |/| | |
| | | | |
| | | | |
| | | | | |
Migrates the Telemetry namespace into the Common namespace to make the
code consistent with the rest of our common code.
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
common/concepts: Move <type_traits> include out of the Common namespace
|
| | |/ / / /
| | | | |
| | | | |
| | | | | |
This is a compiler/linker error waiting to happen.
|
| | | | | | |
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
common: Silence two discarded result warnings
|
| | | |_|/ /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
These are intentionally discarded internally, since the rest of the
public API allows querying success. We want all non-internal uses of
these functions to be explicitly checked, so we can signify that we
intentionally want to discard the return values here.
|
| |\ \ \ \ \
| |_|/ / /
|/| | | | |
vulkan/wrapper: Avoid unnecessary copy in EnumerateInstanceExtensionProperties()
|
| | | |/ /
| |/| |
| | | |
| | | |
| | | | |
Given this is implicitly creating a std::optional, we can move the
vector into it.
|
| |\ \ \ \
| | | | |
| | | | | |
main: Fix Open Save/Mod Locations for installed titles
|
| | | | | |
| | | | |
| | | | |
| | | | | |
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.
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
configuration_shared: Simplify name lookup in highlighting functions
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
We can query the given object name directly from the widget itself. This
removes any potential for forgetting to change the name if the widget
gets renamed and makes the API much simpler (just pass in the widget,
and not worry about its name).
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | | |
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.
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | | |
common/time_zone: Simplify GetOsTimeZoneOffset()
|
| | |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
We can simplify this function down into a single line with the use of
fmt. A benefit with the fmt approach is that the fmt variant of
localtime is thread-safe as well, making GetOsTimeZoneOffset()
thread-safe as well.
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | | |
configure_hotkeys: Don't translate empty strings
|
| | |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
There's no need to translate an empty string. This just gives
translators unnecessary work.
|