[XAM/Avatar] Added stub for: XamAvatarLoadAnimation
This enable running AvatarEditor Disclaimer: Games that uses Avatars might crash
This commit is contained in:
parent
4644ee496c
commit
212c99eee2
|
@ -26,15 +26,23 @@ dword_result_t XamAvatarInitialize(
|
||||||
dword_t unk6 // flags - 0x00300000, 0x30, etc
|
dword_t unk6 // flags - 0x00300000, 0x30, etc
|
||||||
) {
|
) {
|
||||||
// Negative to fail. Game should immediately call XamAvatarShutdown.
|
// Negative to fail. Game should immediately call XamAvatarShutdown.
|
||||||
return ~0u;
|
return X_STATUS_SUCCESS; //~0u;
|
||||||
}
|
}
|
||||||
DECLARE_XAM_EXPORT1(XamAvatarInitialize, kAvatars, kStub);
|
DECLARE_XAM_EXPORT1(XamAvatarInitialize, kAvatars, kStub);
|
||||||
|
|
||||||
|
dword_result_t XamAvatarLoadAnimation(dword_t asset_id_ptr, dword_t flags,
|
||||||
|
dword_t output) {
|
||||||
|
return X_STATUS_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
|
DECLARE_XAM_EXPORT1(XamAvatarLoadAnimation, kAvatars, kStub);
|
||||||
|
|
||||||
void XamAvatarShutdown() {
|
void XamAvatarShutdown() {
|
||||||
// No-op.
|
// No-op.
|
||||||
}
|
}
|
||||||
DECLARE_XAM_EXPORT1(XamAvatarShutdown, kAvatars, kStub);
|
DECLARE_XAM_EXPORT1(XamAvatarShutdown, kAvatars, kStub);
|
||||||
|
|
||||||
|
|
||||||
void RegisterAvatarExports(xe::cpu::ExportResolver* export_resolver,
|
void RegisterAvatarExports(xe::cpu::ExportResolver* export_resolver,
|
||||||
KernelState* kernel_state) {}
|
KernelState* kernel_state) {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue