From 5836a81abf513118bc305ec90845ff7881391418 Mon Sep 17 00:00:00 2001 From: Ben Vanik Date: Sun, 26 Oct 2014 02:42:17 -0700 Subject: [PATCH] XamVoiceIsActiveProcess stub. --- src/xenia/kernel/xam_info.cc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/xenia/kernel/xam_info.cc b/src/xenia/kernel/xam_info.cc index 2d848e539..40bf76b46 100644 --- a/src/xenia/kernel/xam_info.cc +++ b/src/xenia/kernel/xam_info.cc @@ -62,6 +62,13 @@ SHIM_CALL XGetLanguage_shim(PPCContext* ppc_state, KernelState* state) { SHIM_SET_RETURN_64(desired_language); } +SHIM_CALL XamVoiceIsActiveProcess_shim(PPCContext* ppc_state, + KernelState* state) { + XELOGD("XamVoiceIsActiveProcess()"); + // Returning 0 here will short-circuit a bunch of voice stuff. + SHIM_SET_RETURN_32(0); +} + SHIM_CALL XamLoaderGetLaunchDataSize_shim(PPCContext* ppc_state, KernelState* state) { uint32_t size_ptr = SHIM_GET_ARG_32(0); @@ -131,6 +138,8 @@ void xe::kernel::xam::RegisterInfoExports(ExportResolver* export_resolver, SHIM_SET_MAPPING("xam.xex", XGetGameRegion, state); SHIM_SET_MAPPING("xam.xex", XGetLanguage, state); + SHIM_SET_MAPPING("xam.xex", XamVoiceIsActiveProcess, state); + SHIM_SET_MAPPING("xam.xex", XamLoaderGetLaunchDataSize, state); SHIM_SET_MAPPING("xam.xex", XamLoaderGetLaunchData, state); SHIM_SET_MAPPING("xam.xex", XamLoaderTerminateTitle, state);