From bddcf60673d0ef6b0013037c38d991d028043995 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Wed, 29 Nov 2023 21:53:13 +0100 Subject: [PATCH] PPCAnalyst: Don't discard CR before gather pipe interrupt check This fixes a frequently occurring JitArm64 assert caused by merging 6cc4f593e5 without adapting it to the changes made in 5902b5b113. --- Source/Core/Core/PowerPC/PPCAnalyst.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Core/Core/PowerPC/PPCAnalyst.cpp b/Source/Core/Core/PowerPC/PPCAnalyst.cpp index d7c4a09a64..f093863492 100644 --- a/Source/Core/Core/PowerPC/PPCAnalyst.cpp +++ b/Source/Core/Core/PowerPC/PPCAnalyst.cpp @@ -976,6 +976,7 @@ u32 PPCAnalyzer::Analyze(u32 address, CodeBlock* block, CodeBuffer* buffer, // be able to flush all registers, so we can't have any discarded registers. gprDiscardable = BitSet32{}; fprDiscardable = BitSet32{}; + crDiscardable = BitSet8{}; } const bool hle = !!HLE::TryReplaceFunction(op.address);