[XAM/User] Added flag for local profile

It should fix games where right now there is no profile found.

Example: EA Sports games
This commit is contained in:
Radosław Gliński 2020-12-03 08:18:29 +01:00 committed by Rick Gibbed
parent c3d48eb2fa
commit d2cf0167fd
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ class UserProfile {
uint64_t xuid() const { return xuid_; }
std::string name() const { return name_; }
uint32_t signin_state() const { return 1; }
uint32_t type() const { return 2; /* online profile? */ }
uint32_t type() const { return 1 | 2; /* local | online profile? */ }
void AddSetting(std::unique_ptr<Setting> setting);
Setting* GetSetting(uint32_t setting_id);