Fail out of XamContentCreateEnumerator.
This commit is contained in:
parent
9905380bd0
commit
4009eb1cd8
|
@ -44,6 +44,7 @@ SHIM_CALL XamContentGetLicenseMask_shim(
|
|||
}
|
||||
|
||||
|
||||
// http://gameservice.googlecode.com/svn-history/r14/trunk/ContentManager.cpp
|
||||
SHIM_CALL XamContentCreateEnumerator_shim(
|
||||
PPCContext* ppc_state, KernelState* state) {
|
||||
uint32_t arg0 = SHIM_GET_ARG_32(0);
|
||||
|
@ -52,12 +53,15 @@ SHIM_CALL XamContentCreateEnumerator_shim(
|
|||
uint32_t arg3 = SHIM_GET_ARG_32(3);
|
||||
uint32_t arg4 = SHIM_GET_ARG_32(4);
|
||||
uint32_t arg5 = SHIM_GET_ARG_32(5);
|
||||
uint32_t arg6 = SHIM_GET_ARG_32(6);
|
||||
uint32_t handle_ptr = SHIM_GET_ARG_32(6);
|
||||
|
||||
XELOGD(
|
||||
"XamContentCreateEnumerator(%.8X, %.8X, %.8X, %.8X, %.8X, %.8X, %.8X)",
|
||||
arg0, arg1, arg2, arg3, arg4, arg5, arg6);
|
||||
SHIM_SET_RETURN_32(X_ERROR_DEVICE_NOT_CONNECTED);
|
||||
arg0, arg1, arg2, arg3, arg4, arg5, handle_ptr);
|
||||
|
||||
SHIM_SET_MEM_32(handle_ptr, X_INVALID_HANDLE_VALUE);
|
||||
|
||||
SHIM_SET_RETURN_32(X_ERROR_NO_MORE_FILES);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue