| Age | Commit message (Collapse) | Author |
|
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.
|
|
|
|
We've already given the constant to the vector itself, so we don't need
to re-hardcode it in the array.
|
|
file-scope system archive array
This allows the array to be constexpr. std::function is also allowed to
allocate memory, which makes its constructor non-trivial, we definitely
don't want to have all of these execute at runtime, taking up time
before the application can actually load.
|
|
file_sys: Implement open source system archives
|
|
file_sys/registered_cache: Eliminate variable shadowing
|
|
|
|
filesystem: De-globalize registered_cache_union
|
|
The path buffer is actually 0x301 (769) characters in length, with the
extra character being intended for the null-terminator.
|
|
Also inverts if statements where applicable to allow unindenting code a
little bit.
|
|
We can just return a new instance of this when it's requested. This only
ever holds pointers to the existing registed caches, so it's not a large
object. Plus, this also gets rid of the need to keep around a separate
member function just to properly clear out the union.
Gets rid of one of five globals in the filesystem code.
|
|
ReadOnlyVfsDirectory by default
Ensures that read only indeed means read only.
|
|
This is the same behavior-wise as DeleteDirectoryRecursively, with the
only difference being that it doesn't delete the top level directory in
the hierarchy, so given:
root_dir/
- some_dir/
- File.txt
- OtherFile.txt
The end result is just:
root_dir/
|
|
file_sys/registered_cache: Use regular const references instead of std::shared_ptr for InstallEntry()
|