From 580ce698971d1826a26aa88383d4e00bec218bf5 Mon Sep 17 00:00:00 2001 From: Sacha Date: Mon, 29 Jul 2013 00:51:50 +1000 Subject: [PATCH] Buildfix for non-Windows. --- Core/MIPS/ARM/ArmRegCacheFPU.cpp | 4 ++-- Core/MIPS/MIPSAsm.cpp | 4 +++- Core/MIPS/MIPSAsmTables.cpp | 6 +++++- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Core/MIPS/ARM/ArmRegCacheFPU.cpp b/Core/MIPS/ARM/ArmRegCacheFPU.cpp index 348813624a..08881cf4b0 100644 --- a/Core/MIPS/ARM/ArmRegCacheFPU.cpp +++ b/Core/MIPS/ARM/ArmRegCacheFPU.cpp @@ -169,10 +169,10 @@ void ArmRegCacheFPU::MapRegV(int vreg, int flags) { void ArmRegCacheFPU::LoadToRegV(ARMReg armReg, int vreg) { if (vr[vreg].loc == ML_ARMREG) { - emit->VMOV(armReg, vr[vreg].reg); + emit_->VMOV(armReg, vr[vreg].reg); } else { MapRegV(vreg); - emit-> VMOV(armReg, V(vreg)); + emit_->VMOV(armReg, V(vreg)); } } diff --git a/Core/MIPS/MIPSAsm.cpp b/Core/MIPS/MIPSAsm.cpp index 1f79a79791..cd3b37892f 100644 --- a/Core/MIPS/MIPSAsm.cpp +++ b/Core/MIPS/MIPSAsm.cpp @@ -1,4 +1,6 @@ +#ifdef _WIN32 #include "stdafx.h" +#endif #include "MIPSAsm.h" namespace MIPSAsm @@ -405,4 +407,4 @@ void CMipsInstruction::Encode() } } -} \ No newline at end of file +} diff --git a/Core/MIPS/MIPSAsmTables.cpp b/Core/MIPS/MIPSAsmTables.cpp index b1ecfbf4d4..69b91bdf2c 100644 --- a/Core/MIPS/MIPSAsmTables.cpp +++ b/Core/MIPS/MIPSAsmTables.cpp @@ -1,4 +1,8 @@ +#ifdef _WIN32 #include "stdafx.h" +#else +#include +#endif #include "MIPSAsmTables.h" namespace MIPSAsm @@ -415,4 +419,4 @@ const tMipsOpcode MipsOpcodes[] = { { NULL, NULL, 0, 0 } }; -} \ No newline at end of file +}