summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2023-11-29 21:53:13 +0100
committerJosJuice <josjuice@gmail.com>2023-11-29 21:53:13 +0100
commitbddcf60673d0ef6b0013037c38d991d028043995 (patch)
tree2577537ec24aa3fba680fb3e597874139b01aedb /Source/Core
parent0a62b30cd46defd8e7993784af5c95543c5999ba (diff)
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.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/PowerPC/PPCAnalyst.cpp1
1 files changed, 1 insertions, 0 deletions
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);