mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 16:19:28 +01:00
Merge pull request #7332 from lioncash/cast
Arm64Emitter: Get rid of a pointer cast within SetJumpTarget()
This commit is contained in:
commit
735277ec7d
@ -969,7 +969,8 @@ void ARM64XEmitter::SetJumpTarget(FixupBranch const& branch)
|
||||
inst = (0x25 << 26) | MaskImm26(distance);
|
||||
break;
|
||||
}
|
||||
*(u32*)branch.ptr = inst;
|
||||
|
||||
std::memcpy(branch.ptr, &inst, sizeof(inst));
|
||||
}
|
||||
|
||||
FixupBranch ARM64XEmitter::CBZ(ARM64Reg Rt)
|
||||
|
Loading…
x
Reference in New Issue
Block a user