aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/acc
AgeCommit message (Collapse)Author
2020-01-04core: Initialize several structs that make use of Common::UUID.bunnei
2019-11-24Merge pull request #3094 from lioncash/tablesbunnei
service: Update function tables
2019-11-12service: Update function tablesLioncash
Keeps the function tables up to date. Updated based off information from Switchbrew.
2019-11-12service: Resolve sign conversion errorsLioncash
These are fairly trivial to resolve and most of the changes entail using RESULT_UNKNOWN over ResultCode(-1).
2019-09-22service/acc: Lower log severity from INFO to DEBUGFearlessTobi
According to ogniK, this should have always been Debug and not Info.
2019-09-14Merge pull request #2667 from DarkLordZach/profile-editorbunnei
acc: Implement IProfileEditor interface and 'Store'/'StoreWithImage' commands
2019-07-03acc_su: Implement GetProfileEditor (205)Zach Hilman
Takes a UUID of a user and provides and interface that allows RW access to user data/settings.
2019-07-03acc: Implement IProfileEditor-specific commands 'Store' and 'StoreWithImage'Zach Hilman
Verified with IDA
2019-07-03profile_manager: Add setter for ProfileBase and ProfileDataZach Hilman
Needed by IProfileEditor 'Store' and 'StoreWithImage'
2019-07-03acc: Add IProfileCommon for IProfile and IProfileEditorZach Hilman
Since 2/3 of the commands are shared, this is likely how its done on HW.
2019-06-28Addressed issuesDavid Marcec
2019-06-27Implemented InitializeApplicationInfo & InitializeApplicationInfoRestrictedDavid Marcec
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
2019-06-21service/acc: Silence truncation warningsLioncash
The sanitizing function ensures that the returned type is always the correct type. This eliminates warnings without extra casts.
2019-06-17Addressed issuesDavid Marcec
2019-06-16CleanupDavid Marcec
2019-06-16Impl'd IsUserAccountSwitchLocked, SetAudioOutVolume, GetAudioOutVolume & ↵David Marcec
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.
2019-06-07constants: Extract backup JPEG used by account servicesZach Hilman
2019-04-25mii_manager: Cleanup and optimizationZach Hilman
2019-04-25common: Extract UUID to its own classZach Hilman
Since the Mii database uses UUIDs very similar to the Accounts database, it makes no sense to not share code between them.
2019-04-11service: Update service function tablesLioncash
Updates function tables based off information from SwitchBrew.
2018-11-29Merge pull request #1801 from ogniK5377/log-before-executebunnei
Changed logging to be "Log before execution", Added more error logging, all services/svc should now log on some level
2018-11-26profile_manager: Save and load ProfileData from diskZach Hilman
The ProfileData is a 0x80-sized structure that stores various pieces of miscellaneous data for the account.
2018-11-26Changed logging to be "Log before execution", Added more error logging, all ↵David Marcec
services should now log on some level
2018-11-14Merge pull request #1697 from lioncash/accbunnei
acc/profile_manager: Minor cleanup-related changes
2018-11-14service/acc: Correct error case within TrySelectUserWithoutInteraction()Lioncash
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.
2018-11-14profile_manager: Replace iterative loop with a ranged-for loop in ↵Lioncash
ParseUserSaveFile()
2018-11-14profile_manager: Move UUID Format function definitions into the cpp fileLioncash
Avoids relying on fmt always being indirectly included.
2018-11-07fixed spelling errorDavid Marcec
2018-11-07Added missing logDavid Marcec
2018-11-07Implement acc:TrySelectUserWithoutInteractionDavid Marcec
Needed for Shantae - Half-Genie Hero - Ultimate Edition!
2018-11-01Merge pull request #1615 from lioncash/inputbunnei
configure_system: Contrain profile usernames to 32 characters
2018-10-31configure_system: Contrain profile usernames to 32 charactersLioncash
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.
2018-10-30global: Use std::optional instead of boost::optional (#1578)Frederic L
* 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
2018-10-25Merge pull request #1576 from lioncash/acc-warnbunnei
service/acc: Silence compiler truncation warnings
2018-10-24service/acc: Move fallback image to file scopeLioncash
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().
2018-10-24service/acc: Silence compiler warningsLioncash
Silences compiler warnings related to truncation. This also introduces a small helper function to perform the clamping of the image size.
2018-10-24service/acc: Early return in failure case in LoadImage()Lioncash
Allows unindenting the other branch's code.
2018-10-24profile_manager: Use std::optional instead of boost::optionalLioncash
Now that we can actually use std::optional on macOS, we don't need to continue using boost::optional here.
2018-10-23profile_manager: Create save data if it doesn't exist on useZach Hilman
2018-10-23acc: Fix account UUID duplication errorZach Hilman
2018-10-23configure_system: Clear selection after user deleteZach Hilman
2018-10-23profile_manager: Load user icons, names, and UUIDs from system saveZach Hilman
2018-10-23acc: Load user images from config dirZach Hilman
2018-10-23profile_manager: Load users from emulator settingsZach Hilman
2018-09-19Fixed GetAccountId stub, Added error code for OpenDirectory and added ↵David Marcec
ActivateNpadWithRevision With these, `Nintendo Entertainment System - Nintendo Switch Online` loads
2018-09-18Merge pull request #1348 from ogniK5377/GetImageSizebunnei
Implemented IProfile::GetImageSize
2018-09-18Invalid default value of username in yuzu_cmd (#1334)Philippe Babin
* Fix bug where default username value for yuzu_cmd create an userprofile with uninitialize data as username * Fix format * Apply code review changes * Remove nullptr check
2018-09-19Implemented GetImageSizeDavid Marcec
2018-09-15Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi
2018-09-13service: Use nested namespace specifiers where applicableLioncash
There were a few places where nested namespace specifiers weren't being used where they could be within the service code. This amends that to make the namespacing a tiny bit more compact.