Advertisement
Guest User

Untitled

a guest
Mar 29th, 2015
303
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. if (m_userhacks_RemoveHoleBetweenSprite) {
  2. if (m_vt.m_primclass == GS_SPRITE_CLASS) {
  3. size_t count = m_vertex.next;
  4. GSVertex* v = &m_vertex.buff[0];
  5. for(size_t i = 0; i < count; i += 2) {
  6. int x = v[i+1].XYZ.X;
  7. int ox = context->XYOFFSET.OFX;
  8. v[i+1].XYZ.X = ((x-ox) | 0xF) + ox;
  9. }
  10. }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement