yuzu-emu
/
yuzu
Archived
1
0
Fork 0

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.
This commit is contained in:
Subv 2018-07-19 16:51:55 -05:00
parent 78dd1cd441
commit 50e2777724
1 changed files with 1 additions and 2 deletions

View File

@ -30,8 +30,7 @@ struct ProfileBase {
}; };
static_assert(sizeof(ProfileBase) == 0x38, "ProfileBase structure has incorrect size"); static_assert(sizeof(ProfileBase) == 0x38, "ProfileBase structure has incorrect size");
using Uid = std::array<u64, 2>; static constexpr u128 DEFAULT_USER_ID{1ull, 0ull};
static constexpr Uid DEFAULT_USER_ID{0x10ull, 0x20ull};
class IProfile final : public ServiceFramework<IProfile> { class IProfile final : public ServiceFramework<IProfile> {
public: public: