diff --git a/src/xenia/kernel/xam/xam_user.cc b/src/xenia/kernel/xam/xam_user.cc index ab1b1b5a0..fbd12af5e 100644 --- a/src/xenia/kernel/xam/xam_user.cc +++ b/src/xenia/kernel/xam/xam_user.cc @@ -915,6 +915,33 @@ dword_result_t XamProfileCreate(dword_t flags, lpdword_t device_id, } DECLARE_XAM_EXPORT1(XamProfileCreate, kUserProfiles, kStub); +#pragma pack(push, 1) +struct X_USER_INFO { + xe::be xuid; + char name[16]; + xe::be user_index; + xe::be unk; + xe::be title_id; + xe::be unk2; + xe::be unk3; +}; +static_assert_size(X_USER_INFO, 44); + +typedef struct { + xe::be user_count; + X_USER_INFO users_info[7]; +} X_USER_PARTY_LIST; +static_assert_size(X_USER_PARTY_LIST, 4+sizeof(X_USER_INFO)*7); +#pragma pack(pop) + +dword_result_t XamPartyGetUserListInternal( + pointer_t party_struct_ptr) { + + party_struct_ptr->user_count = 0; + return X_ERROR_SUCCESS; +} +DECLARE_XAM_EXPORT1(XamPartyGetUserListInternal, kUserProfiles, kStub); + } // namespace xdbf } // namespace xam } // namespace kernel