Games seem to check if XamLoaderGetLaunchDataSize returns a non-zero, which maybe means no data/error.

This commit is contained in:
gibbed 2015-05-22 00:55:28 -05:00
parent 3077999240
commit ddc5989b06
1 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@ SHIM_CALL XamLoaderGetLaunchDataSize_shim(PPCContext* ppc_state,
SHIM_SET_MEM_32(size_ptr, 0); SHIM_SET_MEM_32(size_ptr, 0);
SHIM_SET_RETURN_64(0); SHIM_SET_RETURN_32(1);
} }
SHIM_CALL XamLoaderGetLaunchData_shim(PPCContext* ppc_state, SHIM_CALL XamLoaderGetLaunchData_shim(PPCContext* ppc_state,
@ -102,7 +102,7 @@ SHIM_CALL XamLoaderGetLaunchData_shim(PPCContext* ppc_state,
XELOGD("XamLoaderGetLaunchData(%.8X, %d)", buffer_ptr, buffer_size); XELOGD("XamLoaderGetLaunchData(%.8X, %d)", buffer_ptr, buffer_size);
SHIM_SET_RETURN_64(0); SHIM_SET_RETURN_32(0);
} }
SHIM_CALL XamLoaderLaunchTitle_shim(PPCContext* ppc_state, KernelState* state) { SHIM_CALL XamLoaderLaunchTitle_shim(PPCContext* ppc_state, KernelState* state) {