mirror of https://github.com/PCSX2/pcsx2.git
GregMiscellaneous: zzogl-pg:
* Backport prim change from regs to newregs git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3988 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
9f571aa9b8
commit
447d0e72b4
|
@ -410,15 +410,15 @@ void __gifCall GIFRegHandlerPRIM(const u32 *data)
|
||||||
//ZZLog::Warn_Log("Warning: unknown bits in prim %8.8lx_%8.8lx", data[1], data[0]);
|
//ZZLog::Warn_Log("Warning: unknown bits in prim %8.8lx_%8.8lx", data[1], data[0]);
|
||||||
//}
|
//}
|
||||||
|
|
||||||
// Come back to this one...
|
|
||||||
gs.nTriFanVert = gs.primIndex;
|
|
||||||
|
|
||||||
gs.primC = 0;
|
gs.primC = 0;
|
||||||
prim->prim = r->PRIM;
|
prim->prim = r->PRIM;
|
||||||
gs._prim[0].prim = r->PRIM;
|
gs._prim[0].prim = r->PRIM;
|
||||||
gs._prim[1].prim = r->PRIM;
|
gs._prim[1].prim = r->PRIM;
|
||||||
gs._prim[1]._val = (data[0] >> 3) & 0xff; // Setting the next 8 flags after prim at once.
|
gs._prim[1]._val = (data[0] >> 3) & 0xff; // Setting the next 8 flags after prim at once.
|
||||||
|
|
||||||
|
gs.new_tri_fan = !(prim_type ^ PRIM_TRIANGLE_FAN);
|
||||||
|
ZZKick->DirtyValidPrevPrim();
|
||||||
|
|
||||||
Prim();
|
Prim();
|
||||||
ZZLog::Greg_Log("PRIM");
|
ZZLog::Greg_Log("PRIM");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue