| Age | Commit message (Collapse) | Author |
|
file_sys: Provide generic interface for accessing game data
|
|
file_sys/fsmitm_romfsbuild: Utilize a string_view in romfs_calc_path_hash
|
|
file_sys/nca_metadata: Remove unnecessary comparison operators for TitleType
|
|
service/fsp_srv: Update SaveDataInfo and SaveDataDescriptor structs
|
|
BitField has been trivially copyable since
e99a14862841841d74be8d0ea9426c2d23546b5e, so we can eliminate these
TODO comments and use ReadObject() directly instead of memcpying the
data.
|
|
enum class elements from the same enum can already be compared against
one another without the need for explicitly defined comparison
operators.
|
|
The given string instance doesn't need to be copied entirely, we can
just use a view instead.
|
|
Passing around a 64 byte data struct by value is kind of wasteful,
instead pass a reference to the struct.
|
|
I realized that I updated the documentation on SwitchBrew a while ago,
but never actually updated the structs within yuzu.
|
|
Quite a bit of these were out of sync with Switchbrew (and in some cases
entirely wrong). While we're at it, also expand the section of named
members. A segment within the control metadata is used to specify
maximum values for the user, device, and cache storage max sizes and
journal sizes.
These appear to be generally used by the am service (e.g. in
CreateCacheStorage, etc).
|
|
|
|
|
|
|
|
These don't need to be visible outside of the translation unit, so they
can be enclosed within an anonymous namespace.
|
|
set_sys: Implement GetFirmwareVersion(2) for libnx hosversion
|
|
loader/nso: Minor refactoring
|
|
|
|
Instead, pass in the core timing instance and make the dependency
explicit in the interface.
|
|
This source file was utilizing its own version of the NSO header.
Instead of keeping this around, we can have the patch manager also use
the version of the header that we have defined in loader/nso.h
|
|
These correspond to the NSOBuildHeader.
|
|
file_sys: Implement parser and interpreter for game memory cheats
|
|
While we're at it, give each entry some documentation.
|
|
|
|
|
|
Uses the synthesized system archive 9 (SystemVersion) and reports v5.1.0-0.0
|
|
|
|
|
|
|
|
Uses load/<title_id>/<mod_name>/cheats as root dir, file name is all upper or lower hex first 8 bytes build ID.
|
|
|
|
loader: Add getters for application banner and logo
|
|
This isn't used at all, so we can just get rid of it.
|
|
|
|
Needed for manual RomFS extraction, as Full generates an extra directory and Truncated generates variable results.
|
|
Provides extra information that makes it easier to tell if an executable
being run is using a 36-bit address space or a 39-bit address space.
While we don't support AArch32 executables yet, this also puts in
distinguishing information for the 32-bit address space types as well.
|
|
kernel: Handle kernel capability descriptors
|
|
These functions come in a pair and are needed by Smash Ultimate, Minecraft, and Skyrim, amongst others.
|
|
This stores a file in the save directory called '.yuzu_save_size' which stores the two save sizes (normal area and journaled area) sequentially as u64s.
|
|
|
|
Serves no actual purpose in this instance besides making NACP's copy assignment deleted, which is not intended behavior.
|
|
Allows these functions to compile when T is not u8.
|
|
While we're at it, we can also toss out the leftover capability parsing
from Citra.
|
|
Functions which are suppose to crash on non canary builds usually don't return anything which lead to uninitialized memory being used.
|
|
fmt::format() returns a std::string instance by value, so calling
.c_str() on it here is equivalent to doing:
auto* ptr = std::string{}.c_str();
The data being pointed to isn't guaranteed to actually be valid anymore
after that expression ends. Instead, we can just take the string as is,
and provide the necessary formatting parameters.
|
|
file_sys/directory: Amend path buffer size for directory entries
|
|
patch_manager: Add support for disabling patches
|
|
file_sys/save_data_factory: Update SaveDataSpaceId enum
|
|
Amends it with missing values deduced from RE (ProperSystem being from
SwitchBrew for naming)
(SdCardUser wasn't that difficult to discern given it's used alongside
SdCardSystem when creating the save data indexer, based off the usage of
the string "saveDataIxrDbSd" nearby).
|
|
|
|
Mimics hardware behavior.
|