From d2cf0167fd5aceef4166d69c80c16bc3bd9fab12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Gli=C5=84ski?= Date: Thu, 3 Dec 2020 08:18:29 +0100 Subject: [PATCH] [XAM/User] Added flag for local profile It should fix games where right now there is no profile found. Example: EA Sports games --- src/xenia/kernel/xam/user_profile.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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* GetSetting(uint32_t setting_id);