Fixing input.

This commit is contained in:
Ben Vanik 2014-01-09 20:06:30 -08:00
parent bd59473791
commit 0cb4a2e415
1 changed files with 4 additions and 2 deletions

View File

@ -87,11 +87,13 @@ SHIM_CALL XamInputGetCapabilities_shim(
SHIM_CALL XamInputGetState_shim(
PPCContext* ppc_state, KernelState* state) {
uint32_t user_index = SHIM_GET_ARG_32(0);
uint32_t state_ptr = SHIM_GET_ARG_32(1);
uint32_t one = SHIM_GET_ARG_32(1);
uint32_t state_ptr = SHIM_GET_ARG_32(2);
XELOGD(
"XamInputGetState(%d, %.8X)",
"XamInputGetState(%d, %.8X, %.8X)",
user_index,
one,
state_ptr);
// Games call this with a NULL state ptr, probably as a query.