Added support for local multiplayer
This commit is contained in:
@@ -314,7 +314,12 @@ dword_result_t XamContentGetCreator_entry(dword_t user_index,
|
||||
// User always creates saves.
|
||||
*is_creator_ptr = 1;
|
||||
if (creator_xuid_ptr) {
|
||||
*creator_xuid_ptr = kernel_state()->user_profile()->xuid();
|
||||
if (kernel_state()->IsUserSignedIn(user_index)) {
|
||||
const auto& user_profile = kernel_state()->user_profile(user_index);
|
||||
*creator_xuid_ptr = user_profile->xuid();
|
||||
} else {
|
||||
result = X_ERROR_NO_SUCH_USER;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
*is_creator_ptr = 0;
|
||||
|
||||
Reference in New Issue
Block a user