aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/acc
AgeCommit message (Collapse)Author
2018-08-20acc: Replace profile_manager include with a forward declarationLioncash
This is only used in a shared_ptr, so we can forward declare it.
2018-08-20acc: Simplify WriteBuffer call within LoadImage()Lioncash
We have an overload of WriteBuffer that accepts containers that satisfy the ContiguousContainer concept, which std::array does, so we only need to pass in the array itself.
2018-08-20acc: Correct IProfile's constructor initializer list orderLioncash
Arranges them in the order the members would be initialized
2018-08-20acc: Remove unused DEFAULT_USER_IDLioncash
This is no longer used, so it can be removed.
2018-08-20profile_manager: Use INVALID_UUID in the initializer of last_opened_userLioncash
Makes it a little bit more self-documenting.
2018-08-20profile_manager: Remove unnecessary memcpy in GetProfileBaseAndData()Lioncash
Given the source and destination types are the same std::array type, we can simply use regular assignment to perform the same behavior.
2018-08-20profile_manager: Use type aliases for username data, profile data, and user ↵Lioncash
arrays Avoids the need to repeatedly specify the whole array type in multiple places.
2018-08-20profile_manager: Take ProfileInfo by const reference where applicableLioncash
ProfileInfo is quite a large struct in terms of data, and we don't need to perform a copy in these instances, so we can just pass constant references instead.
2018-08-20profile_manager: Make array parameter to CreateNewUser a const referenceLioncash
This doesn't modify the passed in array, so this can be a const reference.
2018-08-20profile_manager: Remove unnecessary staticLioncash
This can just be constexpr like the others
2018-08-20profile_manager: Simplify UUID's two param constructor, operator==, and ↵Lioncash
operator bool We can use the constructor initializer list and just compare the contained u128's together instead of comparing each element individually. Ditto for comparing against an invalid UUID.
2018-08-20profile_manager: Move UUID generation function to the cpp fileLioncash
This avoids needing to dump the contents of <random> into other files that include the profile manager header.
2018-08-20profile_manager: Remove unnecessary std::move in AddToProfiles() and ↵Lioncash
CreateNewUser() Moving a const reference isn't possible, so this just results in a copy (and given ProfileInfo is composed of trivial types and aggregates, a move wouldn't really do anything).
2018-08-12Better UUID randomnessDavid Marcec
2018-08-12Removed un-needed count from ListOpenUsers and ListAllUsersDavid Marcec
2018-08-12Added better explanations in the profile managerDavid Marcec
2018-08-12Code cleanup for profile managerDavid Marcec
2018-08-12Removed const from ProfileBase InvalidateDavid Marcec
2018-08-11fixed invalid uuid bool operatorDavid Marcec
2018-08-11Added GetOpenUserCountDavid Marcec
2018-08-11Removed all for loops from the profile managerDavid Marcec
2018-08-11Added missing ListAllUsers countDavid Marcec
2018-08-11If statement style changeDavid Marcec
2018-08-11Second round of account changesDavid Marcec
2018-08-11First round of account changesDavid Marcec
2018-08-11Refactored profile manager sharingDavid Marcec
2018-08-11Merge remote-tracking branch 'origin/master' into better-accountDavid Marcec
2018-08-11Added IsUserRegistrationRequestPermittedDavid Marcec
2018-08-09Don't add user if the uuid already existsDavid Marcec
2018-08-09Open first user addedDavid Marcec
2018-08-09Inital pass of account backend implementationDavid Marcec
This commit verified working on puyo
2018-08-08GetProfileBase and GetProfileBaseAndData addedDavid Marcec
2018-08-08began initial implementation of "ProfileManager"David Marcec
2018-08-08Service/Account: stub LoadImage functionmailwl
2018-08-08Switched uuids from u128 to new UUID structDavid Marcec
2018-08-07acc: Add missing function table entries for GetUserCountLioncash
Given this is stubbed within the common module in 5ac7b84, it should be added to the other relevant tables as well.
2018-08-07acc: Stub GetUserCount. (#973)bunnei
- Used by Pokken Tournament DX.
2018-08-03Added ability to change username & language code in the settings ui. Added ↵David
IProfile::Get and SET::GetLanguageCode for libnx tests (#851)
2018-07-23core: Make converting constructors explicit where applicableLioncash
Avoids unwanted implicit conversions. Thankfully, given the large amount of cleanup in past PRs, only this tiny amount is left over to cover.
2018-07-20HLE/ACC: Stub IManagerForApplication::GetAccountId to return an error.Subv
And make IManagerForApplication::CheckAvailability always return false. Returning a bogus id from GetAccountId causes games to crash on boot. We should investigate this with a hwtest and either stub it properly or implement it.
2018-07-19Merge pull request #728 from Subv/acc_profilebunnei
HLE/ACC: Change the default user id and small improvements to the way we handle profiles
2018-07-19Merge pull request #727 from Subv/acc_usersbunnei
HLE/ACC: Write a single whole user id in ListAllUsers and ListOpenUsers.
2018-07-19HLE/ACC: Return an IProfile that is consistent with what was requested.Subv
The default username for now is "yuzu". We should eventually allow the creation of users in the emulator and have the ability to modify their parameters.
2018-07-19HLE/ACC: Change the default user id to be consistent with what we tell games ↵Subv
on startup. In IApplicationFunctions::PopLaunchParameter we tell the games that they were launched as user id 1.
2018-07-19HLE/ACC: Write a single whole user id in ListAllUsers and ListOpenUsers.Subv
We only emulate a single user id for now.
2018-07-19hle/service: Make constructors explicit where applicableLioncash
Prevents implicit construction and makes these lingering non-explicit constructors consistent with the rest of the other classes in services.
2018-07-02Rename logging macro back to LOG_*James Rowe
2018-04-24acc: Move logging macros over to new fmt-compatible onesLioncash
2018-04-19service: Use nested namespace specifiers where applicableLioncash
Tidies up namespace declarations
2018-04-17Various service name fixes - part 2 (rebased) (#322)Hexagon12
* Updated ACC with more service names * Updated SVC with more service names * Updated set with more service names * Updated sockets with more service names * Updated SPL with more service names * Updated time with more service names * Updated vi with more service names