XamVoiceIsActiveProcess stub.

This commit is contained in:
Ben Vanik 2014-10-26 02:42:17 -07:00
parent 13edfa95a5
commit 5836a81abf
1 changed files with 9 additions and 0 deletions

View File

@ -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);