Added XamWriteGamerTile - should fix #109

This commit is contained in:
wszechpolak 2014-08-16 12:17:43 +02:00
parent 01f0b14250
commit 2f12585af9
1 changed files with 18 additions and 0 deletions

View File

@ -276,6 +276,23 @@ SHIM_CALL XamUserCreateAchievementEnumerator_shim(
}
SHIM_CALL XamWriteGamerTile_shim(
PPCContext* ppc_state, KernelState* state) {
uint32_t arg0 = SHIM_GET_ARG_32(0);
uint32_t arg1 = SHIM_GET_ARG_32(1);
uint32_t arg2 = SHIM_GET_ARG_32(2);
uint32_t arg3 = SHIM_GET_ARG_32(3);
uint32_t arg4 = SHIM_GET_ARG_32(4);
uint32_t arg5 = SHIM_GET_ARG_32(5);
XELOGD(
"XamWriteGamerTile(%.8X, %.8X, %.8X, %.8X, %.8X, %.8X)",
arg0, arg1, arg2, arg3, arg4, arg5);
SHIM_SET_RETURN_32(0x3E5);
}
} // namespace kernel
} // namespace xe
@ -290,4 +307,5 @@ void xe::kernel::xam::RegisterUserExports(
SHIM_SET_MAPPING("xam.xex", XamUserCheckPrivilege, state);
SHIM_SET_MAPPING("xam.xex", XamShowSigninUI, state);
SHIM_SET_MAPPING("xam.xex", XamUserCreateAchievementEnumerator, state);
SHIM_SET_MAPPING("xam.xex", XamWriteGamerTile, state);
}