mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 07:09:48 -06:00
WriteDual32() is only used in 64-bit builds.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5489 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -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
|
// I don't know whether the overflow actually happens in any games
|
||||||
// but it potentially can cause problems, so we need some clamping
|
// but it potentially can cause problems, so we need some clamping
|
||||||
|
|
||||||
|
#ifdef _M_X64
|
||||||
// TODO(ector): Improve 64-bit version
|
// TODO(ector): Improve 64-bit version
|
||||||
static void WriteDual32(u64 value, u32 address)
|
static void WriteDual32(u64 value, u32 address)
|
||||||
{
|
{
|
||||||
Memory::Write_U32((u32)(value >> 32), address);
|
Memory::Write_U32((u32)(value >> 32), address);
|
||||||
Memory::Write_U32((u32)value, address + 4);
|
Memory::Write_U32((u32)value, address + 4);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
// See comment in header for in/outs.
|
// See comment in header for in/outs.
|
||||||
void CommonAsmRoutines::GenQuantizedStores() {
|
void CommonAsmRoutines::GenQuantizedStores() {
|
||||||
|
Reference in New Issue
Block a user