Jit64: Enable branch following.

This commit is contained in:
degasus
2017-01-22 19:13:29 +01:00
parent f37c5f1f1c
commit f31b25fe39
7 changed files with 110 additions and 45 deletions

View File

@ -443,6 +443,16 @@ void XEmitter::CALL(const void* fnptr)
Write32(u32(distance));
}
FixupBranch XEmitter::CALL()
{
FixupBranch branch;
branch.type = 1;
branch.ptr = code + 5;
Write8(0xE8);
Write32(0);
return branch;
}
FixupBranch XEmitter::J(bool force5bytes)
{
FixupBranch branch;