mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-22 10:27:55 -05:00
emitter: Add CALL that can be fixed up.
This commit is contained in:
@ -455,6 +455,18 @@ 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;
|
||||
|
Reference in New Issue
Block a user