From 800039c82991cd425c8c643a24db7c165c04314b Mon Sep 17 00:00:00 2001 From: sudonim1 Date: Thu, 16 Jul 2009 15:13:01 +0000 Subject: [PATCH] Fix flickering characters in god hand from r1509. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1533 96395faa-99c1-11dd-bbfe-3dabce05a288 --- pcsx2/x86/ix86-32/iR5900-32.cpp | 2 +- pcsx2/x86/ix86-32/iR5900Move.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pcsx2/x86/ix86-32/iR5900-32.cpp b/pcsx2/x86/ix86-32/iR5900-32.cpp index 03b3b00d9d..8647cf8311 100644 --- a/pcsx2/x86/ix86-32/iR5900-32.cpp +++ b/pcsx2/x86/ix86-32/iR5900-32.cpp @@ -371,7 +371,7 @@ u32* recGetImm64(u32 hi, u32 lo) imm64[0] = lo; imm64[1] = hi; - //Console::Notice("Consts allocated: %d of %u", params (recConstBufPtr - recConstBuf) / 2, ++count); + //Console::Notice("Consts allocated: %d of %u", params (recConstBufPtr - recConstBuf) / 2, count); return imm64; } diff --git a/pcsx2/x86/ix86-32/iR5900Move.cpp b/pcsx2/x86/ix86-32/iR5900Move.cpp index 7175c567d2..b2ac05f58f 100644 --- a/pcsx2/x86/ix86-32/iR5900Move.cpp +++ b/pcsx2/x86/ix86-32/iR5900Move.cpp @@ -445,7 +445,7 @@ void recMOVZtemp_consts(int info) if( g_cpuFlushedConstReg & (1<<_Rs_) ) mem = &cpuRegs.GPR.r[_Rs_].UL[0]; else - mem = _eeGetConstReg(_Rs_); + mem = recGetImm64(g_cpuConstRegs[_Rs_].UL[1], g_cpuConstRegs[_Rs_].UL[0]); MOVQMtoR(EEREC_D, (uptr)mem); x86SetJ8( j8Ptr[ 0 ] ); @@ -566,7 +566,7 @@ void recMOVNtemp_consts(int info) if( g_cpuFlushedConstReg & (1<<_Rs_) ) mem = &cpuRegs.GPR.r[_Rs_].UL[0]; else - mem = _eeGetConstReg(_Rs_); + mem = recGetImm64(g_cpuConstRegs[_Rs_].UL[1], g_cpuConstRegs[_Rs_].UL[0]); MOVQMtoR(EEREC_D, (uptr)mem); x86SetJ8( j8Ptr[ 0 ] );