mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-06-02 01:41:08 +00:00
- fix truncated load addresses due to a bug in asmjit
- change ToMemAddress to use uint64_t
This commit is contained in:
parent
06b54d3aaa
commit
4364feea9a
2 changed files with 14 additions and 10 deletions
|
@ -65,9 +65,9 @@ private:
|
|||
pc++; // This instruction uses two instruction slots - skip the next one
|
||||
}
|
||||
|
||||
static int64_t ToMemAddress(const void *d)
|
||||
static uint64_t ToMemAddress(const void *d)
|
||||
{
|
||||
return (int64_t)(ptrdiff_t)d;
|
||||
return (uint64_t)(ptrdiff_t)d;
|
||||
}
|
||||
|
||||
void CallSqrt(const asmjit::X86Xmm &a, const asmjit::X86Xmm &b);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue