rsx: Fix some broken latch checks

This commit is contained in:
kd-11 2024-04-14 21:00:12 +03:00 committed by kd-11
parent dd66380132
commit 58d8c65990

View File

@ -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;
}