Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

Pica/Regs: Correct bit width for blend-equations

Jannik Vogelee331cf4f89b
diff --git a/src/video_core/regs_framebuffer.h b/src/video_core/regs_framebuffer.h
index 366782080a..9ddc792430 100644
--- a/src/video_core/regs_framebuffer.h
+++ b/src/video_core/regs_framebuffer.h
@@ -89,8 +89,8 @@ struct FramebufferRegs {
};
union {
- BitField<0, 8, BlendEquation> blend_equation_rgb;
- BitField<8, 8, BlendEquation> blend_equation_a;
+ BitField<0, 3, BlendEquation> blend_equation_rgb;
+ BitField<8, 3, BlendEquation> blend_equation_a;
BitField<16, 4, BlendFactor> factor_source_rgb;
BitField<20, 4, BlendFactor> factor_dest_rgb;