From c282045c27b40a4411f51deda6cb314ffda4b261 Mon Sep 17 00:00:00 2001 From: Sergey Lipskiy Date: Fri, 2 May 2014 00:32:13 +0700 Subject: [PATCH] Fix combiner for G_CYC_FILL cycle type. That fixes regression in frame buffer backgrounds in Mario Tennis. --- OpenGL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenGL.cpp b/OpenGL.cpp index 790506b9..e08e6f3f 100644 --- a/OpenGL.cpp +++ b/OpenGL.cpp @@ -710,7 +710,7 @@ void OGL_UpdateStates() if (gDP.otherMode.cycleType == G_CYC_COPY) Combiner_SetCombine(EncodeCombineMode(0, 0, 0, TEXEL0, 0, 0, 0, TEXEL0, 0, 0, 0, TEXEL0, 0, 0, 0, TEXEL0)); else if (gDP.otherMode.cycleType == G_CYC_FILL) - Combiner_SetCombine(EncodeCombineMode(0, 0, 0, SHADE, 0, 0, 0, 1, 0, 0, 0, SHADE, 0, 0, 0, 1)); + Combiner_SetCombine(EncodeCombineMode(0, 0, 0, SHADE, 0, 0, 0, SHADE, 0, 0, 0, SHADE, 0, 0, 0, SHADE)); else Combiner_SetCombine(gDP.combine.mux);