Seeing code returning to the execution thunk, something must have broken.

This commit is contained in:
Ben Vanik 2013-10-19 19:03:47 -07:00
parent 4a72010e5f
commit 807b949fea
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@ void _cdecl XeTrap(
void* _cdecl XeIndirectBranch(
xe_ppc_state_t* state, uint64_t target, uint64_t br_ia) {
// TODO(benvanik): track this statistic - this path is very slow!
XEASSERT(target != 0xBEBEBEBE);
Processor* processor = state->processor;
void* target_ptr = processor->GetFunctionPointer((uint32_t)target);
// target_ptr will be null when the given target is not a function.