[XAM/Party] Added stubs for:
- XamPartyGetUserList - XamPartySendGameInvites - XamPartySetCustomData - XamPartyGetBandwidth
This commit is contained in:
parent
6c9662d17e
commit
010f0aa517
|
@ -22,6 +22,7 @@ XE_MODULE_EXPORT_GROUP(xam, Msg)
|
|||
XE_MODULE_EXPORT_GROUP(xam, Net)
|
||||
XE_MODULE_EXPORT_GROUP(xam, Notify)
|
||||
XE_MODULE_EXPORT_GROUP(xam, NUI)
|
||||
XE_MODULE_EXPORT_GROUP(xam, Party)
|
||||
XE_MODULE_EXPORT_GROUP(xam, Task)
|
||||
XE_MODULE_EXPORT_GROUP(xam, UI)
|
||||
XE_MODULE_EXPORT_GROUP(xam, User)
|
||||
|
|
|
@ -0,0 +1,46 @@
|
|||
/**
|
||||
******************************************************************************
|
||||
* Xenia : Xbox 360 Emulator Research Project *
|
||||
******************************************************************************
|
||||
* Copyright 2021 Ben Vanik. All rights reserved. *
|
||||
* Released under the BSD license - see LICENSE in the root for more details. *
|
||||
******************************************************************************
|
||||
*/
|
||||
|
||||
#include "xenia/kernel/kernel_state.h"
|
||||
#include "xenia/kernel/util/shim_utils.h"
|
||||
#include "xenia/kernel/xam/xam_private.h"
|
||||
#include "xenia/xbox.h"
|
||||
|
||||
namespace xe {
|
||||
namespace kernel {
|
||||
namespace xam {
|
||||
|
||||
dword_result_t XamPartyGetUserList(dword_t player_count, lpdword_t party_list) {
|
||||
// Sonic & All-Stars Racing Transformed want specificly this code
|
||||
// to skip loading party data.
|
||||
// This code is not documented in NT_STATUS code list
|
||||
return 0x807D0003;
|
||||
}
|
||||
DECLARE_XAM_EXPORT1(XamPartyGetUserList, kNone, kStub);
|
||||
|
||||
dword_result_t XamPartySendGameInvites(dword_t r3, dword_t r4, dword_t r5) {
|
||||
return X_ERROR_FUNCTION_FAILED;
|
||||
}
|
||||
DECLARE_XAM_EXPORT1(XamPartySendGameInvites, kNone, kStub);
|
||||
|
||||
dword_result_t XamPartySetCustomData(dword_t r3, dword_t r4, dword_t r5) {
|
||||
return X_ERROR_FUNCTION_FAILED;
|
||||
}
|
||||
DECLARE_XAM_EXPORT1(XamPartySetCustomData, kNone, kStub);
|
||||
|
||||
dword_result_t XamPartyGetBandwidth(dword_t r3, dword_t r4) {
|
||||
return X_ERROR_FUNCTION_FAILED;
|
||||
}
|
||||
DECLARE_XAM_EXPORT1(XamPartyGetBandwidth, kNone, kStub);
|
||||
|
||||
void RegisterPartyExports(xe::cpu::ExportResolver* export_resolver,
|
||||
KernelState* kernel_state) {}
|
||||
} // namespace xam
|
||||
} // namespace kernel
|
||||
} // namespace xe
|
Loading…
Reference in New Issue