mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-06 08:09:19 +00:00
One more case of 64-bit code outside _M_X64, pointed out by omegadox.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5518 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
60c0d2efda
commit
f8b159eb90
1 changed files with 3 additions and 3 deletions
|
@ -103,13 +103,13 @@ const u8 *TrampolineCache::GetWriteTrampoline(const InstructionInfo &info)
|
||||||
if (GetSpaceLeft() < 1024)
|
if (GetSpaceLeft() < 1024)
|
||||||
PanicAlert("Trampoline cache full");
|
PanicAlert("Trampoline cache full");
|
||||||
|
|
||||||
|
const u8 *trampoline = GetCodePtr();
|
||||||
|
|
||||||
|
#ifdef _M_X64
|
||||||
X64Reg dataReg = (X64Reg)info.regOperandReg;
|
X64Reg dataReg = (X64Reg)info.regOperandReg;
|
||||||
if (dataReg != EAX)
|
if (dataReg != EAX)
|
||||||
PanicAlert("Backpatch write - not through EAX");
|
PanicAlert("Backpatch write - not through EAX");
|
||||||
|
|
||||||
const u8 *trampoline = GetCodePtr();
|
|
||||||
|
|
||||||
#ifdef _M_X64
|
|
||||||
X64Reg addrReg = (X64Reg)info.scaledReg;
|
X64Reg addrReg = (X64Reg)info.scaledReg;
|
||||||
|
|
||||||
// It's a write. Yay. Remember that we don't have to be super efficient since it's "just" a
|
// It's a write. Yay. Remember that we don't have to be super efficient since it's "just" a
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue