- Turn off USE_HOSTFS by default for now (was crashing all elf files for me allocating 4gb for some reason...)

- Port the flag-fix to Super VU recs.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2819 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
cottonvibes 2010-04-07 00:33:13 +00:00
parent fa8d5b1d79
commit 9c398f3d91
3 changed files with 2 additions and 5 deletions

View File

@ -25,7 +25,7 @@ extern void InitPatch(const wxString& crc);
u32 ElfCRC;
// uncomment this to enable pcsx2hostfs loading when using "load elf"
#define USE_HOSTFS
//#define USE_HOSTFS
#if 0
// fixme: ELF command line option system.

View File

@ -45,7 +45,6 @@ static void mVUupdateFlags(mV, int reg, int regT1 = -1, int regT2 = -1, bool mod
//-------------------------Check for Signed flags------------------------------
// The following code makes sure the Signed Bit isn't set with Negative Zero
SSE_MOVMSKPS_XMM_to_R32(mReg, regT2); // Move the Sign Bits of the t2reg
SSE_XORPS_XMM_to_XMM (regT1, regT1); // Clear regT1
SSE_CMPEQPS_XMM_to_XMM (regT1, regT2); // Set all F's if each vector is zero

View File

@ -250,13 +250,11 @@ void recUpdateFlags(VURegs * VU, int reg, int info)
//-------------------------Check for Signed flags------------------------------
// The following code makes sure the Signed Bit isn't set with Negative Zero
SSE_XORPS_XMM_to_XMM(t1reg, t1reg); // Clear t1reg
SSE_CMPEQPS_XMM_to_XMM(t1reg, reg); // Set all F's if each vector is zero
SSE_MOVMSKPS_XMM_to_R32(x86temp, t1reg); // Used for Zero Flag Calculation
SSE_ANDNPS_XMM_to_XMM(t1reg, reg);
SSE_MOVMSKPS_XMM_to_R32(EAX, t1reg); // Move the sign bits of the t1reg
SSE_MOVMSKPS_XMM_to_R32(EAX, reg); // Move the sign bits of the t1reg
AND16ItoR(EAX, _X_Y_Z_W ); // Grab "Is Signed" bits from the previous calculation
pjmp = JZ8(0); // Skip if none are