From 50e27777248c68525839ea7fce589334f4a86183 Mon Sep 17 00:00:00 2001 From: Subv Date: Thu, 19 Jul 2018 16:51:55 -0500 Subject: 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. --- src/core/hle/service/acc/acc.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/core') 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 { }; static_assert(sizeof(ProfileBase) == 0x38, "ProfileBase structure has incorrect size"); -using Uid = std::array; -static constexpr Uid DEFAULT_USER_ID{0x10ull, 0x20ull}; +static constexpr u128 DEFAULT_USER_ID{1ull, 0ull}; class IProfile final : public ServiceFramework { public: -- cgit v1.2.3