mirror of
https://github.com/libretro/beetle-psx-libretro.git
synced 2024-11-24 09:20:16 +00:00
Backport 15e253c75c
This commit is contained in:
parent
a6b33da8c4
commit
996b91dedd
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user