Seeing code returning to the execution thunk, something must have broken.
This commit is contained in:
parent
4a72010e5f
commit
807b949fea
|
@ -36,6 +36,7 @@ void _cdecl XeTrap(
|
||||||
void* _cdecl XeIndirectBranch(
|
void* _cdecl XeIndirectBranch(
|
||||||
xe_ppc_state_t* state, uint64_t target, uint64_t br_ia) {
|
xe_ppc_state_t* state, uint64_t target, uint64_t br_ia) {
|
||||||
// TODO(benvanik): track this statistic - this path is very slow!
|
// TODO(benvanik): track this statistic - this path is very slow!
|
||||||
|
XEASSERT(target != 0xBEBEBEBE);
|
||||||
Processor* processor = state->processor;
|
Processor* processor = state->processor;
|
||||||
void* target_ptr = processor->GetFunctionPointer((uint32_t)target);
|
void* target_ptr = processor->GetFunctionPointer((uint32_t)target);
|
||||||
// target_ptr will be null when the given target is not a function.
|
// target_ptr will be null when the given target is not a function.
|
||||||
|
|
Loading…
Reference in New Issue