| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
A non-existent parameter was left in some formatting calls (the logging
macro for which only does anything meaningful on debug builds)
|
| |
|
|
|
| |
This code was around prior to the introduction of PushEnum, so convert
it over so we don't need to cast here.
|
| |
|
|
| |
This function simply converts a given index into a language code.
|
| |\
| |
| | |
Changed logging to be "Log before execution", Added more error logging, all services/svc should now log on some level
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| | |
services should now log on some level
|
| |\ \
| | |
| | | |
npad: Use NPadIdToIndex to prevent invalid array access
|
| | | | |
|
| |\ \ \
| | | |
| | | | |
gpu: Rewrite GPU command list processing with DmaPusher class.
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
- More accurate impl., fixes Undertale (among other games).
|
| |\ \ \ \
| | | | |
| | | | | |
file_sys/registered_cache: Use regular const references instead of std::shared_ptr for InstallEntry()
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
std::shared_ptr for InstallEntry()
These parameters don't need to utilize a shared lifecycle directly in
the interface. Instead, the caller should provide a regular reference
for the function to use. This also allows the type system to flag
attempts to pass nullptr and makes it more generic, since it can now be
used in contexts where a shared_ptr isn't being used (in other words, we
don't constrain the usage of the interface to a particular mode of
memory management).
|
| | | | | | |
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
profile_manager: Save and load ProfileData from disk
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
The ProfileData is a 0x80-sized structure that stores various pieces of miscellaneous data for the account.
|
| | |/ / / /
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
While we're at it, organize the array linearly, since clang formats the
array elements quite wide length-wise with the addition of the missing
'u'.
Technically also fixes patch lookup and icon lookup with Portuguese,
though I doubt anyone has actually run into this issue.
|
| |\ \ \ \ \
| |_|/ / /
|/| | | | |
gdbstub: Silence value truncation warning within FpuWrite()
|
| | | |/ /
| |/| |
| | | |
| | | |
| | | | |
Previously this would cause an implicit truncation warning about
assigning a u64 value to a u32 value without an explicit cast.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The opposite of the getter functions, this function sets the limit value
for a particular ResourceLimit resource category, with the restriction
that the new limit value must be equal to or greater than the current
resource value. If this is violated, then ERR_INVALID_STATE is returned.
e.g.
Assume:
current[Events] = 10;
limit[Events] = 20;
a call to this service function lowering the limit value to 10 would be
fine, however, attempting to lower it to 9 in this case would cause an
invalid state error.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This kernel service function is essentially the exact same as
svcGetResourceLimitLimitValue(), with the only difference being that it
retrieves the current value for a given resource category using the
provided resource limit handle, rather than retrieving the limiting
value of that resource limit instance.
Given these are exactly the same and only differ on returned values, we
can extract the existing code for svcGetResourceLimitLimitValue() to
handle both values.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This kernel service function retrieves the maximum allowable value for
a provided resource category for a given resource limit instance. Given
we already have the functionality added to the resource limit instance
itself, it's sufficient to just hook it up.
The error scenarios for this are:
1. If an invalid resource category type is provided, then ERR_INVALID_ENUM is returned.
2. If an invalid handle is provided, then ERR_INVALID_HANDLE is returned (bad thing goes in, bad thing goes out, as one would expect).
If neither of the above error cases occur, then the out parameter is
provided with the maximum limit value for the given category and success
is returned.
|
| |/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This function simply creates a ResourceLimit instance and attempts to
create a handle for it within the current process' handle table. If the
kernal fails to either create the ResourceLimit instance or create a
handle for the ResourceLimit instance, it returns a failure code
(OUT_OF_RESOURCE, and HANDLE_TABLE_FULL respectively). Finally, it exits
by providing the output parameter with the handle value for the
ResourceLimit instance and returning that it was successful.
Note: We do not return OUT_OF_RESOURCE because, if yuzu runs out of
available memory, then new will currently throw. We *could* allocate the
kernel instance with std::nothrow, however this would be inconsistent
with how all other kernel objects are currently allocated.
|
| |\ \ \
| |_|/
|/| | |
service/sm: Take std::string by const reference in UnregisterService
|
| | |/
| |
| |
| |
| |
| |
| |
| | |
Avoids the need to create a copy of the std::string instance
(potentially allocating).
The only reason RegisterService takes its argument by value is because
it's std::moved internally.
|
| | | |
|
| |\ \
| |/
|/| |
nvdrv: Implement/stub DumpGraphicsMemoryInfo and GetStatus.
|
| | |
| |
| |
| | |
- Used by Undertale.
|
| |\ \
| | |
| | | |
sm: Implement RegisterService and UnregisterService
|
| | | |
| | |
| | | |
These are needed by Edizon to boot. They are used to see if a user is using SX OS, as SX OS registers a custom service called 'tx' and attempting to register a service of the same name lets the application know if it is present.
|
| |\ \ \
| | | |
| | | | |
filesystem: Clear registered union paths on factory creation
|
| | | | | |
|
| |\ \ \ \
| | | | |
| | | | | |
GDBStub Improvements
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- Add FPU support
- Fix access to TLS
Fix clang-format.
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
Report resolution scaling support for vi and am
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
Specifying an internal resolution in yuzu now will report the scaled changes to vi and am.
|
| |\ \ \ \ \ \
| |_|_|_|_|/
|/| | | | | |
patch_manager: Add support for applying LayeredFS patches to ExeFS
|
| | | | | | |
| | | | | |
| | | | | | |
The decision was made to name them LayeredExeFS instead of just LayeredFS to differentiate from normal RomFS-based mods. The name may be long/unweildy, but conveys the meaning well.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
This will scan the <mod>/exefs dir for all files and then layer those on top of the game's exefs and use this as the new exefs. This allows for overriding of the compressed NSOs or adding new files. This does use the same dir as IPS/IPSwitch patch, but since the loader will not look for those they are ignored.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
When enabled, all exefs(es) will be copied to yuzu/dump/<title_id>/exefs.
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | | |
applets: Add StubApplet and use it as fallback when AppletId is not implemented
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This will log all data it receives, log all calls to its methods and push dummy data into both channels on execution.
|