Add some reporting of spline issues.

This commit is contained in:
Unknown W. Brackets 2013-08-24 10:20:31 -07:00
parent c141e94fe9
commit 6227fe0754

View file

@ -714,14 +714,14 @@ void GLES_GPU::ExecuteOp(u32 op, u32 diff) {
void *indices = NULL;
if ((gstate.vertType & GE_VTYPE_IDX_MASK) != GE_VTYPE_IDX_NONE) {
if (!Memory::IsValidAddress(gstate_c.indexAddr)) {
ERROR_LOG(G3D, "Bad index address %08x!", gstate_c.indexAddr);
ERROR_LOG_REPORT(G3D, "Bad index address %08x!", gstate_c.indexAddr);
break;
}
indices = Memory::GetPointer(gstate_c.indexAddr);
}
if (gstate.getPatchPrimitiveType() != GE_PATCHPRIM_TRIANGLES) {
ERROR_LOG(G3D, "Unsupported patch primitive %x", gstate.patchprimitive&3);
ERROR_LOG_REPORT(G3D, "Unsupported patch primitive %x", gstate.patchprimitive&3);
break;
}