XAM fixes.
Updated PR from Permanulled PR #1150. - [XAM] Stub XGI messages. - [XAM] Stub XLiveBase GetServiceInfo message. - [XAM] Stub error out of NetDll_WSARecvFrom. - [XAM] Stub XamSessionRefObjByHandle. Improves Aegis Wings, Jetpac, Metal Slug 3, and State of Decay. Co-authored-by: PermaNulled <crich@thedefaced.org>
This commit is contained in:
@@ -780,8 +780,10 @@ DECLARE_XAM_EXPORT1(XamSessionCreateHandle, kUserProfiles, kStub);
|
||||
|
||||
dword_result_t XamSessionRefObjByHandle(dword_t handle, lpdword_t obj_ptr) {
|
||||
assert_true(handle == 0xCAFEDEAD);
|
||||
*obj_ptr = 0;
|
||||
return X_ERROR_FUNCTION_FAILED;
|
||||
// TODO(PermaNull): Implement this properly,
|
||||
// For the time being returning 0xDEADF00D will prevent crashing.
|
||||
*obj_ptr = 0xDEADF00D;
|
||||
return X_ERROR_SUCCESS;
|
||||
}
|
||||
DECLARE_XAM_EXPORT1(XamSessionRefObjByHandle, kUserProfiles, kStub);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user