| Age | Commit message (Collapse) | Author |
|
acc: Return a unique value per account for GetAccountId
|
|
acc: Fix InitializeApplicationInfo
|
|
|
|
We're not suppose to pop a u64, should just read the sent pid and check that
|
|
|
|
Closes #2844
|
|
Keeps the service function tables up to date.
Updated based off information on SwitchBrew.
|
|
|
|
service: Update function tables
|
|
Keeps the function tables up to date.
Updated based off information from Switchbrew.
|
|
These are fairly trivial to resolve and most of the changes entail
using RESULT_UNKNOWN over ResultCode(-1).
|
|
According to ogniK, this should have always been Debug and not Info.
|
|
acc: Implement IProfileEditor interface and 'Store'/'StoreWithImage' commands
|
|
Takes a UUID of a user and provides and interface that allows RW access to user data/settings.
|
|
Verified with IDA
|
|
Needed by IProfileEditor 'Store' and 'StoreWithImage'
|
|
Since 2/3 of the commands are shared, this is likely how its done on HW.
|
|
|
|
InitializeApplicationInfoRestricted will need further implementation as it's checking for other user requirements about the game. As we're emulating, we're assuming the user owns the game so we skip these checks currently, implementation will need to be added further on
|
|
The sanitizing function ensures that the returned type is always the
correct type. This eliminates warnings without extra casts.
|
|
|
|
|
|
Partial impl of GetAccumulatedSuspendedTickChangedEvent
IPC-100 was changed to InitializeApplicationInfoOld instead of InitializeApplicationInfo. IPC-150 makes an indentical call to IPC-100 however does extra processing. They should not have the same name as it's quite confusing to debug.
|
|
|
|
|
|
Since the Mii database uses UUIDs very similar to the Accounts database, it makes no sense to not share code between them.
|
|
Updates function tables based off information from SwitchBrew.
|
|
Changed logging to be "Log before execution", Added more error logging, all services/svc should now log on some level
|
|
The ProfileData is a 0x80-sized structure that stores various pieces of miscellaneous data for the account.
|
|
services should now log on some level
|
|
acc/profile_manager: Minor cleanup-related changes
|
|
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.
|
|
ParseUserSaveFile()
|
|
Avoids relying on fmt always being indirectly included.
|
|
|
|
|
|
Needed for Shantae - Half-Genie Hero - Ultimate Edition!
|
|
configure_system: Contrain profile usernames to 32 characters
|
|
Previously, we would let a user enter an unbounded name and then
silently truncate away characters that went over the 32-character limit.
This is kind of bad from the UX point of view, because we're essentially
not doing what the user intended in certain scenarios.
Instead, we clamp it to 32 characters and make that visually apparent in
the dialog box to provide a name for a user.
|
|
* get rid of boost::optional
* Remove optional references
* Use std::reference_wrapper for optional references
* Fix clang format
* Fix clang format part 2
* Adressed feedback
* Fix clang format and MacOS build
|
|
service/acc: Silence compiler truncation warnings
|
|
This is just flat data, so it doesn't really need to be in the function
itself. This also allows deduplicating the constant for the backup size
in GetImageSize().
|
|
Silences compiler warnings related to truncation. This also introduces a
small helper function to perform the clamping of the image size.
|
|
Allows unindenting the other branch's code.
|
|
Now that we can actually use std::optional on macOS, we don't need to
continue using boost::optional here.
|
|
|
|
|
|
|
|
|
|
|