diff options
| author | 2018-07-19 16:51:55 -0500 | |
|---|---|---|
| committer | 2018-07-19 16:51:55 -0500 | |
| commit | 50e27777248c68525839ea7fce589334f4a86183 (patch) | |
| tree | 8bcf25f82275fbf42048f8db207a1f5abe7722fe /src | |
| parent | Merge pull request #720 from Subv/getentrytype_root (diff) | |
| download | yuzu-50e27777248c68525839ea7fce589334f4a86183.tar.gz yuzu-50e27777248c68525839ea7fce589334f4a86183.tar.xz yuzu-50e27777248c68525839ea7fce589334f4a86183.zip | |
HLE/ACC: Change the default user id to be consistent with what we tell games on startup.
In IApplicationFunctions::PopLaunchParameter we tell the games that they were launched as user id 1.
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/service/acc/acc.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/service/acc/acc.cpp b/src/core/hle/service/acc/acc.cpp index 6bafb2dce..83c723379 100644 --- a/src/core/hle/service/acc/acc.cpp +++ b/src/core/hle/service/acc/acc.cpp | |||
| @@ -30,8 +30,7 @@ struct ProfileBase { | |||
| 30 | }; | 30 | }; |
| 31 | static_assert(sizeof(ProfileBase) == 0x38, "ProfileBase structure has incorrect size"); | 31 | static_assert(sizeof(ProfileBase) == 0x38, "ProfileBase structure has incorrect size"); |
| 32 | 32 | ||
| 33 | using Uid = std::array<u64, 2>; | 33 | static constexpr u128 DEFAULT_USER_ID{1ull, 0ull}; |
| 34 | static constexpr Uid DEFAULT_USER_ID{0x10ull, 0x20ull}; | ||
| 35 | 34 | ||
| 36 | class IProfile final : public ServiceFramework<IProfile> { | 35 | class IProfile final : public ServiceFramework<IProfile> { |
| 37 | public: | 36 | public: |