diff --git a/Core/MIPS/MIPSInt.cpp b/Core/MIPS/MIPSInt.cpp index 6fcc01e56b..9f42a31fa2 100644 --- a/Core/MIPS/MIPSInt.cpp +++ b/Core/MIPS/MIPSInt.cpp @@ -152,7 +152,7 @@ namespace MIPSInt void Int_Sync(u32 op) { - DEBUG_LOG(CPU, "sync"); + //DEBUG_LOG(CPU, "sync"); PC += 4; } diff --git a/GPU/GLES/TransformPipeline.cpp b/GPU/GLES/TransformPipeline.cpp index 50d9a37c9c..1a5bf8997a 100644 --- a/GPU/GLES/TransformPipeline.cpp +++ b/GPU/GLES/TransformPipeline.cpp @@ -572,11 +572,17 @@ void TransformAndDrawPrim(void *verts, void *inds, int prim, int vertexCount, Li u32 fixA = gstate.getFixA(); u32 fixB = gstate.getFixB(); // Shortcut by using GL_ONE where possible, no need to set blendcolor - if (!glBlendFuncA && blendFuncA == GE_SRCBLEND_FIXA && fixA == 0xFFFFFF) { - glBlendFuncA = GL_ONE; + if (!glBlendFuncA && blendFuncA == GE_SRCBLEND_FIXA) { + if (fixA == 0xFFFFFF) + glBlendFuncA = GL_ONE; + else if (fixA == 0) + glBlendFuncA = GL_ZERO; } - if (!glBlendFuncB && blendFuncB == GE_DSTBLEND_FIXB && fixB == 0xFFFFFF) { - glBlendFuncB = GL_ONE; + if (!glBlendFuncB && blendFuncB == GE_DSTBLEND_FIXB) { + if (fixB == 0xFFFFFF) + glBlendFuncB = GL_ONE; + else if (fixB == 0) + glBlendFuncB = GL_ZERO; } if (!glBlendFuncA && glBlendFuncB) { // Can use blendcolor trivially.