Added support for local multiplayer
This commit is contained in:
@@ -19,12 +19,15 @@ namespace xe {
|
||||
namespace kernel {
|
||||
namespace xam {
|
||||
|
||||
UserProfile::UserProfile() {
|
||||
UserProfile::UserProfile(uint8_t index) {
|
||||
// 58410A1F checks the user XUID against a mask of 0x00C0000000000000 (3<<54),
|
||||
// if non-zero, it prevents the user from playing the game.
|
||||
// "You do not have permissions to perform this operation."
|
||||
xuid_ = 0xB13EBABEBABEBABE;
|
||||
xuid_ = 0xB13EBABEBABEBABE + index;
|
||||
name_ = "User";
|
||||
if (index) {
|
||||
name_ = "User_" + std::to_string(index);
|
||||
}
|
||||
|
||||
// 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
|
||||
|
||||
Reference in New Issue
Block a user