This commit is contained in:
Jordan 2025-12-15 01:40:02 -05:00 committed by GitHub
commit 1ff661b0bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;