add missed part of PR #1150
This commit is contained in:
parent
61eb3a7c2d
commit
807fceefc1
|
@ -515,8 +515,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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue