From 47af7bd8b15f34912f4546ae6d6410d0d6ed51bd Mon Sep 17 00:00:00 2001 From: Soren Jorvang Date: Wed, 26 May 2010 20:53:18 +0000 Subject: [PATCH] WriteDual32() is only used in 64-bit builds. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5489 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/PowerPC/JitCommon/JitAsmCommon.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Core/Core/Src/PowerPC/JitCommon/JitAsmCommon.cpp b/Source/Core/Core/Src/PowerPC/JitCommon/JitAsmCommon.cpp index 7e565fced2..4ffbb88d9b 100644 --- a/Source/Core/Core/Src/PowerPC/JitCommon/JitAsmCommon.cpp +++ b/Source/Core/Core/Src/PowerPC/JitCommon/JitAsmCommon.cpp @@ -206,12 +206,14 @@ static const float GC_ALIGNED16(m_m128) = -128.0f; // I don't know whether the overflow actually happens in any games // but it potentially can cause problems, so we need some clamping +#ifdef _M_X64 // TODO(ector): Improve 64-bit version static void WriteDual32(u64 value, u32 address) { Memory::Write_U32((u32)(value >> 32), address); Memory::Write_U32((u32)value, address + 4); } +#endif // See comment in header for in/outs. void CommonAsmRoutines::GenQuantizedStores() {