From 58d8c65990163ca8724c8114a8c422da543acee8 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Sun, 14 Apr 2024 21:00:12 +0300 Subject: [PATCH] rsx: Fix some broken latch checks --- rpcs3/Emu/RSX/NV47/HW/nv4097.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rpcs3/Emu/RSX/NV47/HW/nv4097.cpp b/rpcs3/Emu/RSX/NV47/HW/nv4097.cpp index 74a76fea71..9eac6aedd2 100644 --- a/rpcs3/Emu/RSX/NV47/HW/nv4097.cpp +++ b/rpcs3/Emu/RSX/NV47/HW/nv4097.cpp @@ -378,7 +378,7 @@ namespace rsx void set_face_property(context* ctx, u32 reg, u32 arg) { - if (reg == REGS(ctx)->latch) + if (arg == REGS(ctx)->latch) { return; } @@ -406,7 +406,7 @@ namespace rsx void set_blend_equation(context* ctx, u32 reg, u32 arg) { - if (reg == REGS(ctx)->latch) + if (arg == REGS(ctx)->latch) { return; } @@ -424,7 +424,7 @@ namespace rsx void set_blend_factor(context* ctx, u32 reg, u32 arg) { - if (reg == REGS(ctx)->latch) + if (arg == REGS(ctx)->latch) { return; }