mirror of https://github.com/PCSX2/pcsx2.git
b4771030d3
This won't fix the billions of errors that will happen at runtime of using the x86 emitter, but chooses to make some better coding practice choices that enables it to compile on x86_64. in the xIndirectVoid class, instead of using s32 for the offset, use sptr which will be 32bit or 64bit depending on architecture. This also fixes a few alignment issues in xAddressVoid's constructors. In EmitSibMagic we are casting a void* to s32, which won't work on x86_64, so first do a cast from sptr to s32. Won't work on x86_64, but gets us compiling. |
||
---|---|---|
.. | ||
implement | ||
inlines.inl | ||
instructions.h | ||
internal.h | ||
legacy_instructions.h | ||
legacy_internal.h | ||
legacy_types.h | ||
macros.h | ||
sse_helpers.h | ||
tools.h | ||
x86emitter.h | ||
x86types.h |