From 2f12585af98416ab3d073de0968f9cdac6b0cc86 Mon Sep 17 00:00:00 2001 From: wszechpolak Date: Sat, 16 Aug 2014 12:17:43 +0200 Subject: [PATCH] Added XamWriteGamerTile - should fix #109 --- src/xenia/kernel/xam_user.cc | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/xenia/kernel/xam_user.cc b/src/xenia/kernel/xam_user.cc index 521358997..15bf258df 100644 --- a/src/xenia/kernel/xam_user.cc +++ b/src/xenia/kernel/xam_user.cc @@ -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); }