This commit is contained in:
twinaphex 2016-03-24 19:17:21 +01:00
parent a6b33da8c4
commit 996b91dedd
2 changed files with 9 additions and 1 deletions

View File

@ -1866,6 +1866,14 @@ int PS_GPU::StateAction(StateMem *sm, int load, int data_only)
IRQ_Assert(IRQ_GPU, IRQPending);
}
rsx_set_draw_area(this->ClipX0, this->ClipY0,
this->ClipX1, this->ClipY1);
rsx_set_draw_offset(this->OffsX, this->OffsY);
rsx_load_image(0, 0,
1024, 512,
this->vram);
return(ret);
}

View File

@ -430,7 +430,7 @@ template<int numvertices, bool goraud, bool textured, int BlendMode, bool TexMul
INLINE void PS_GPU::Command_DrawPolygon(const uint32_t *cb)
{
const unsigned cb0 = cb[0];
tri_vertex vertices[3];
tri_vertex vertices[3] = {{0}};
uint32_t clut = 0;
unsigned sv = 0;
//uint32_t tpage = 0;