1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-04 10:03:36 +00:00

Fix combiner for G_CYC_FILL cycle type.

That fixes regression in frame buffer backgrounds in Mario Tennis.
This commit is contained in:
Sergey Lipskiy 2014-05-02 00:32:13 +07:00
parent b220cb6e84
commit c282045c27

View File

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