Avoid the GE debugger affecting vertexFullAlpha.

This commit is contained in:
Unknown W. Brackets 2014-05-04 09:49:30 -07:00
parent 779a52e08a
commit ff8f1fa569

View file

@ -868,6 +868,8 @@ bool TransformDrawEngine::GetCurrentSimpleVertices(int count, std::vector<GPUDeb
u16 indexLowerBound = 0;
u16 indexUpperBound = count - 1;
bool savedVertexFullAlpha = gstate_c.vertexFullAlpha;
if ((gstate.vertType & GE_VTYPE_IDX_MASK) != GE_VTYPE_IDX_NONE) {
const u8 *inds = Memory::GetPointer(gstate_c.indexAddr);
const u16 *inds16 = (const u16 *)inds;
@ -955,5 +957,7 @@ bool TransformDrawEngine::GetCurrentSimpleVertices(int count, std::vector<GPUDeb
}
}
gstate_c.vertexFullAlpha = savedVertexFullAlpha;
return true;
}