From 4a4569fa28dc73a513020bb819f8ebf7e6be09ca Mon Sep 17 00:00:00 2001 From: kd-11 Date: Mon, 17 Nov 2025 22:04:44 +0300 Subject: [PATCH] rsx/fp: Fix the delay slot detection --- rpcs3/Emu/RSX/Program/FragmentProgramDecompiler.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/rpcs3/Emu/RSX/Program/FragmentProgramDecompiler.cpp b/rpcs3/Emu/RSX/Program/FragmentProgramDecompiler.cpp index af34157663..c3b4a57517 100644 --- a/rpcs3/Emu/RSX/Program/FragmentProgramDecompiler.cpp +++ b/rpcs3/Emu/RSX/Program/FragmentProgramDecompiler.cpp @@ -195,6 +195,7 @@ bool FragmentProgramDecompiler::is_delay_slot() const if (dst.opcode != RSX_FP_OPCODE_MOV || // These slots are always populated with MOV dst.no_dest || // Must have a sink src0.reg_type != RSX_FP_REGISTER_TYPE_TEMP || // Must read from reg + dst.dest_reg != src0.tmp_reg_index || // Must be a write-to-self dst.fp16 || // Always full lane. We need to collect more data on this but it won't matter dst.saturate || // Precision modifier (dst.prec != RSX_FP_PRECISION_REAL &&