Remove HLE_HOOK_END.

It isn't used, it isn't implemented in interpreter, and the implementation
in JIT is wrong.
This commit is contained in:
magumagu committed 2015-01-15 11:54:20 -08:00
1 parent 7105e5a8f0
commit e92e1e5873
3 files changed
+2 -32

No files matched your search

@@ -668,20 +668,6 @@ const u8* JitIL::DoJit(u32 em_address, PPCAnalyst::CodeBuffer *code_buf, JitBloc
}
}
u32 function = HLE::GetFunctionIndex(jit->js.blockStart);
if (function != 0)
{
int type = HLE::GetFunctionTypeByIndex(function);
if (type == HLE::HLE_HOOK_END)
{
int flags = HLE::GetFunctionFlagsByIndex(function);
if (HLE::IsEnabled(flags))
{
HLEFunction(function);
}
}
}
// Perform actual code generation
WriteCode(nextPC);