| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Similar to PR 1706, which cleans up the error codes for the filesystem
code, but done for the kernel error codes. This removes the ErrCodes
namespace and specifies the errors directly. This also fixes up any
straggling lines of code that weren't using the named error codes where
applicable.
|
| |\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Implement SetMemoryPermission
|
| | | | | | | | | |
|
| | | |_|/ / / /
| |/| | | | | |
|
| |\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
game_list: Optimize game list refresh
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Prevents unnecessary re-reads of the metadata and unnecessary temporary objects.
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Creates a single KeyManager for the entire container and then passes it into the NCA constructor, eliminating several unnecessary KeyManager reads.
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Allows resuing a common KeyManager when a large amount of NCAs are handled by the same class. Should the parameter not be provided, a new KeyManager will be constructed, as was the default behavior prior to this.
|
| |\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
file_sys/errors: Clean up error code values
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Rather than keeping around unused values, we can just introduce them as
needed.
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
There's no real point to keeping the separate enum around, especially
given the name of the error code itself is supposed to document what the
value actually represents.
|
| | | |_|/ / / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | | |
Keeps filesystem-related error codes in one spot.
|
| |/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
Currently unclear what these do yet, will be researched at a later time when we want to implement palma.
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* Fixed priority switching edge case for handheld
We accidently used controller index instead of npad id
* Moved NPadIdToIndex
|
| |\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
csrng: Use random integer distribution instead of raw engine
|
| | | |_|_|/ / /
| |/| | | | |
| | | | | | |
| | | | | | | |
Prevents returning the same value every single call.
|
| |\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
kernel/thread: Deduplicate scheduler switching code
|
| | | |_|_|_|/ /
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
The code in both places was the same verbatim, so we can extract it to a
function to deduplicate the logic.
|
| |\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
patch_manager: Add support for dumping uncompressed NSOs
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
When enabled in settings, PatchNSO will dump the unmodified NSO that it was passed to a file named <build id>.nso in the dump root for the current title ID.
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Also adds UI option in Debug > Dump section, with the idea later things to be dumped (i.e. other game data or textures, etc) will use the same group box.
|
| | | |_|_|_|/ /
| |/| | | | |
| | | | | | |
| | | | | | | |
Equates to yuzu_dir/dump/<title id>/
|
| |\ \ \ \ \ \ \
| |_|_|/ / / /
|/| | | | | | |
service/audren_u: Forward RequestUpdateAuto through the same function as RequestUpdate
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
RequestUpdate
Based off RE, they both currently go through the same codepath with no
difference in behavior.
|
| |\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
acc/profile_manager: Minor cleanup-related changes
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
ParseUserSaveFile()
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Avoids relying on fmt always being indirectly included.
|
| |\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
service/acc: Correct error case within TrySelectUserWithoutInteraction()
|
| | |/ / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
empty() in this case will always return false, since the returned
container is a std::array. Instead, check if all given users are invalid
before returning the error code.
|
| |\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
nfp: Correct erroneous sizeof expression within GetTagInfo()
|
| | | |_|_|/ / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
The previous expression would copy sizeof(size_t) amount of bytes (8 on
a 64-bit platform) rather than the full 10 bytes comprising the uuid
member.
Given the source and destination types are the same, we can just use an
assignment here instead.
|
| |\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
hid/npad: Add missing break in switch statement within Controller_NPad::OnUpdate
|
| | |/ / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Controller_NPad::OnUpdate()
|
| |\ \ \ \ \ \ \ \
| |_|/ / / / / /
|/| | | | | | | |
service: Mark MakeFunctionString with the [[maybe_unused]] attribute.
|
| | |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
When yuzu is compiled in release mode this function is unused, however,
when compiled in debug mode, it's used within a LOG_TRACE statement.
This prevents erroneous compilation warnings about an unused function
(that isn't actually totally unused).
|
| |\ \ \ \ \ \ \
| |_|/ / / / /
|/| | | | | | |
svc: Use proper random entropy generation algorithm
|
| | |/ / / / / |
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | | |
kernel/process: Migrate heap-related memory management out of the process class and into the vm manager
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Now that we've moved all of the heap-related stuff to the VMManager
class, we can unstub this function, as the necessary members are visible
now.
|
| | |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
class and into the vm manager
Avoids a breach of responsibilities in the interface and keeps the
direct code for memory management within the VMManager class.
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | | |
hle/audren_u: Implement Get/SetRenderingTimeLimit
|
| | |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
These appear to be a basic getter and setter pair, so these are fairly
trivial to implement and get out of the way.
|
| |\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
[ns|fsp_srv]: Implement various functions to boot Checkpoint
|
| | | | | | |
| | | | | |
| | | | | | |
Returns the raw NACP bytes and the raw icon bytes into a title-provided buffer. Pulls from Registration Cache for control data, returning all zeros should it not exist.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
An object to read SaveDataInfo objects, which describe a unique save on the system. This implementation iterates through all the directories in the save data space and uses the paths to reconstruct the metadata.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
Needed by Checkpoint. Returns an object that can iterate through all savedata on the system.
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
Allows NRO homebrew to use the RomFS in the ASET section.
|
| | |/ / / /
| | | | |
| | | | |
| | | | | |
Returns the raw bytes of the NACP file. Needed for GetApplicationControlData which returns the raw, unprocessed NACP to the game.
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
csrng: Add config option to set RNG seed
|