microVU: due to the 2 flag fixes the hacks can go now :p

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1176 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
ramapcsx2 2009-05-13 12:15:41 +00:00
parent 8385a8166f
commit 3c715556e9
2 changed files with 8 additions and 8 deletions

View File

@ -143,7 +143,7 @@ microVUt(int) mVUsetFlags(int* xStatus, int* xMac, int* xClip) {
incPC2(2); incPC2(2);
} }
mVUregs.flags = ((__Clip) ? 0 : (xC << 2)) | ((__Status) ? 0 : xS); mVUregs.flags = ((__Clip) ? 0 : ((xC & 3) << 2)) | ((__Status) ? 0 : (xS & 3));
return cycles; return cycles;
} }
@ -176,15 +176,15 @@ microVUt(void) mVUsetupFlags(int* xStatus, int* xMac, int* xClip, int cycles) {
SSE_SHUFPS_XMM_to_XMM (xmmT1, xmmT1, shuffleMac); SSE_SHUFPS_XMM_to_XMM (xmmT1, xmmT1, shuffleMac);
SSE_MOVAPS_XMM_to_M128((uptr)mVU->macFlag, xmmT1); SSE_MOVAPS_XMM_to_M128((uptr)mVU->macFlag, xmmT1);
} }
/*
if (__Clip) { if (__Clip) {
int bClip[4]; int bClip[4];
//sortFlag(xClip, bClip, cycles); sortFlag(xClip, bClip, cycles);
SysPrintf("__Clip\n"); //SysPrintf("__Clip\n");
SSE_MOVAPS_M128_to_XMM(xmmT1, (uptr)mVU->clipFlag); SSE_MOVAPS_M128_to_XMM(xmmT1, (uptr)mVU->clipFlag);
SSE_SHUFPS_XMM_to_XMM (xmmT1, xmmT1, shuffleClip); SSE_SHUFPS_XMM_to_XMM (xmmT1, xmmT1, shuffleClip);
SSE_MOVAPS_XMM_to_M128((uptr)mVU->clipFlag, xmmT1); SSE_MOVAPS_XMM_to_M128((uptr)mVU->clipFlag, xmmT1);
}*/ }
} }
microVUt(void) mVUpass4(int startPC) { microVUt(void) mVUpass4(int startPC) {

View File

@ -222,11 +222,11 @@ declareAllVariables
#define fmInstance ((mVUinfo >> 10) & 3) #define fmInstance ((mVUinfo >> 10) & 3)
#define fsInstance ((mVUinfo >> 12) & 3) #define fsInstance ((mVUinfo >> 12) & 3)
#define fpsInstance ((((mVUinfo>>12) & 3) - 1) & 0x3) #define fpsInstance ((((mVUinfo>>12) & 3) - 1) & 0x3)
#define fcInstance 0//((mVUinfo >> 14) & 3) #define fcInstance ((mVUinfo >> 14) & 3)
#define fpcInstance 0//((((mVUinfo>>14) & 3) - 1) & 0x3) #define fpcInstance ((((mVUinfo>>14) & 3) - 1) & 0x3)
#define fvmInstance ((mVUinfo >> 16) & 3) #define fvmInstance ((mVUinfo >> 16) & 3)
#define fvsInstance ((mVUinfo >> 18) & 3) #define fvsInstance ((mVUinfo >> 18) & 3)
#define fvcInstance 0//((mVUinfo >> 20) & 3) #define fvcInstance ((mVUinfo >> 20) & 3)
#define backupVI (mVUinfo & (1<<22)) #define backupVI (mVUinfo & (1<<22))
#define memReadIs (mVUinfo & (1<<23)) #define memReadIs (mVUinfo & (1<<23))
#define memReadIt (mVUinfo & (1<<24)) #define memReadIt (mVUinfo & (1<<24))