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:
Soren Jorvang 2010-05-27 12:37:24 +00:00
parent 60c0d2efda
commit f8b159eb90

View File

@ -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