eggScreen OK (thanks kiwi!)

This commit is contained in:
robojumper
2025-03-21 11:29:27 +01:00
parent 641c56b24a
commit 4c9213be54
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -896,7 +896,7 @@ config.libs = [
Object(Matching, "egg/gfx/eggPostEffectMask.cpp"),
Object(NonMatching, "egg/gfx/eggPostEffectMaskDOF.cpp"),
Object(Matching, "egg/gfx/eggPostEffectSimple.cpp"),
Object(NonMatching, "egg/gfx/eggScreen.cpp"),
Object(Matching, "egg/gfx/eggScreen.cpp"),
Object(Matching, "egg/gfx/eggScreenEffectBase.cpp"),
Object(NonMatching, "egg/gfx/eggScreenEffectBlur.cpp"), # Unknown Guess
Object(NonMatching, "egg/gfx/eggStateEfb.cpp"),
+3 -2
View File
@@ -287,8 +287,9 @@ void Screen::FillBufferGX(u32 flags, GXColor color, u32 r6) const {
clone.SetProjectionGX();
clone.CalcMatrixForDrawQuad(&drawMtx, 0.0f, 0.0f, mSize.x, mSize.y);
// Ugh
DrawGX::ClearEfb(drawMtx, (flags & 1), (flags & 2), (flags & 4), color, true);
DrawGX::ClearEfb(
drawMtx, (flags & 1) ? true : false, (flags & 2) ? true : false, (flags & 4) ? true : false, color, true
);
}
}