mirror of
https://github.com/PCSX2/pcsx2.git
synced 2025-12-16 04:08:48 +00:00
microVU: Ignore MAC flags in block match if not required
This commit is contained in:
parent
ab1cb802d8
commit
b24afe8267
@ -233,7 +233,13 @@ public:
|
|||||||
const u64 quick64 = pState->quick64[0];
|
const u64 quick64 = pState->quick64[0];
|
||||||
for (const microBlockLinkRef& ref : quickLookup)
|
for (const microBlockLinkRef& ref : quickLookup)
|
||||||
{
|
{
|
||||||
if (ref.quick != quick64) continue;
|
// if we're using the flag hack, ignore the mac flags going in to the new block too if an exact match wasn't requested.
|
||||||
|
if (mVUsFlagHack)
|
||||||
|
{
|
||||||
|
if ((ref.quick & ~0x0C04) != (quick64 & ~0x0C04)) continue;
|
||||||
|
}
|
||||||
|
else if (ref.quick != quick64) continue;
|
||||||
|
|
||||||
if (doConstProp && (ref.pBlock->pState.vi15 != pState->vi15)) continue;
|
if (doConstProp && (ref.pBlock->pState.vi15 != pState->vi15)) continue;
|
||||||
if (doConstProp && (ref.pBlock->pState.vi15v != pState->vi15v)) continue;
|
if (doConstProp && (ref.pBlock->pState.vi15v != pState->vi15v)) continue;
|
||||||
return ref.pBlock;
|
return ref.pBlock;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user