Added XamIsUIActive.
This commit is contained in:
parent
327edc592e
commit
a376eb7d9f
|
@ -19,6 +19,11 @@
|
||||||
namespace xe {
|
namespace xe {
|
||||||
namespace kernel {
|
namespace kernel {
|
||||||
|
|
||||||
|
SHIM_CALL XamIsUIActive_shim(PPCContext* ppc_state, KernelState* state) {
|
||||||
|
XELOGD("XamIsUIActive()");
|
||||||
|
SHIM_SET_RETURN_32(0);
|
||||||
|
}
|
||||||
|
|
||||||
// http://www.se7ensins.com/forums/threads/working-xshowmessageboxui.844116/?jdfwkey=sb0vm
|
// http://www.se7ensins.com/forums/threads/working-xshowmessageboxui.844116/?jdfwkey=sb0vm
|
||||||
SHIM_CALL XamShowMessageBoxUI_shim(PPCContext* ppc_state, KernelState* state) {
|
SHIM_CALL XamShowMessageBoxUI_shim(PPCContext* ppc_state, KernelState* state) {
|
||||||
uint32_t user_index = SHIM_GET_ARG_32(0);
|
uint32_t user_index = SHIM_GET_ARG_32(0);
|
||||||
|
@ -129,6 +134,7 @@ SHIM_CALL XamShowDirtyDiscErrorUI_shim(PPCContext* ppc_state,
|
||||||
|
|
||||||
void xe::kernel::xam::RegisterUIExports(
|
void xe::kernel::xam::RegisterUIExports(
|
||||||
xe::cpu::ExportResolver* export_resolver, KernelState* state) {
|
xe::cpu::ExportResolver* export_resolver, KernelState* state) {
|
||||||
|
SHIM_SET_MAPPING("xam.xex", XamIsUIActive, state);
|
||||||
SHIM_SET_MAPPING("xam.xex", XamShowMessageBoxUI, state);
|
SHIM_SET_MAPPING("xam.xex", XamShowMessageBoxUI, state);
|
||||||
SHIM_SET_MAPPING("xam.xex", XamShowDirtyDiscErrorUI, state);
|
SHIM_SET_MAPPING("xam.xex", XamShowDirtyDiscErrorUI, state);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue