XamLoaderTerminateTitle asserts now to make it easier to track death.

This commit is contained in:
Ben Vanik 2014-10-25 11:42:54 -07:00
parent 48437924f3
commit 009ff4e80f
2 changed files with 10 additions and 0 deletions

View File

@ -15,6 +15,9 @@ video drivers for your card.
Ensure Python is in your PATH (`C:\Python27\`).
I recommend using [Cmder](http://bliker.github.io/cmder/) for git and command
line usage.
#### Debugging
VS behaves oddly with the debug paths. Open the xenia-run project properties

View File

@ -83,6 +83,12 @@ SHIM_CALL XamLoaderGetLaunchData_shim(PPCContext* ppc_state,
SHIM_SET_RETURN_64(0);
}
SHIM_CALL XamLoaderTerminateTitle_shim(PPCContext* ppc_state,
KernelState* state) {
XELOGD("XamLoaderTerminateTitle()");
assert_always();
}
SHIM_CALL XamEnumerate_shim(PPCContext* ppc_state, KernelState* state) {
uint32_t handle = SHIM_GET_ARG_32(0);
uint32_t zero = SHIM_GET_ARG_32(1);
@ -127,6 +133,7 @@ void xe::kernel::xam::RegisterInfoExports(ExportResolver* export_resolver,
SHIM_SET_MAPPING("xam.xex", XamLoaderGetLaunchDataSize, state);
SHIM_SET_MAPPING("xam.xex", XamLoaderGetLaunchData, state);
SHIM_SET_MAPPING("xam.xex", XamLoaderTerminateTitle, state);
SHIM_SET_MAPPING("xam.xex", XamEnumerate, state);
}