summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRadosław Gliński <Gliniak93@gmail.com>2020-12-03 08:18:29 +0100
committerRick Gibbed <rick@gibbed.us>2020-12-03 01:21:33 -0600
commitd2cf0167fd5aceef4166d69c80c16bc3bd9fab12 (patch)
treea3a35ed4a8624230e328c6dfc8f2bfac45078887
parentc3d48eb2fa2e43a19716b52fa5e545f643486b6b (diff)
[XAM/User] Added flag for local profile
It should fix games where right now there is no profile found. Example: EA Sports games
-rw-r--r--src/xenia/kernel/xam/user_profile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xenia/kernel/xam/user_profile.h b/src/xenia/kernel/xam/user_profile.h
index 309d0e0f8..92bf80bec 100644
--- a/src/xenia/kernel/xam/user_profile.h
+++ b/src/xenia/kernel/xam/user_profile.h
@@ -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);