From 99a926d27888c04990b374f9d69a202b0bacfd9d Mon Sep 17 00:00:00 2001 From: kd-11 Date: Mon, 21 Sep 2026 20:29:12 +0300 Subject: [PATCH] rsx: Force a full pipeline stall before invoking USER_COMMAND callback - Proven with hardware tests --- rpcs3/Emu/RSX/rsx_methods.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rpcs3/Emu/RSX/rsx_methods.cpp b/rpcs3/Emu/RSX/rsx_methods.cpp index 9ee302a804..bdc7519f9a 100644 --- a/rpcs3/Emu/RSX/rsx_methods.cpp +++ b/rpcs3/Emu/RSX/rsx_methods.cpp @@ -67,6 +67,9 @@ namespace rsx void user_command(context* ctx, u32, u32 arg) { + // USER_COMMAND induces a full drain of the backend and frontend. + RSX(ctx)->sync(); + if (!RSX(ctx)->isHLE) { sys_rsx_context_attribute(0x55555555, 0xFEF, 0, arg, 0, 0);