[Kernel] Add Gamertag config variable

This commit is contained in:
illusion98 2019-08-15 23:16:12 -05:00
parent bcc571e574
commit 3d909462ac
1 changed files with 3 additions and 1 deletions

View File

@ -13,13 +13,15 @@
#include "xenia/kernel/util/shim_utils.h"
#include "xenia/kernel/xam/user_profile.h"
DEFINE_string(profile_name, "XeniaUser", "Gamertag", "General");
namespace xe {
namespace kernel {
namespace xam {
UserProfile::UserProfile() {
xuid_ = 0xE000BABEBABEBABE;
name_ = "XeniaUser";
name_ = (cvars::profile_name);
// https://cs.rin.ru/forum/viewtopic.php?f=38&t=60668&hilit=gfwl+live&start=195
// https://github.com/arkem/py360/blob/master/py360/constants.py