Previous 15994 Revisions Next

r12418 Sunday 31st July, 2011 at 17:36:56 UTC by Angelo Salese
Fixed VDP1 polygon write outside of the framebuffer region, allows Capcom Collection Dai 4 to boot
[src/mame/video]stvvdp1.c

src/mame/video/stvvdp1.c
r12417r12418
862862static void drawpixel_poly(running_machine &machine, int x, int y, int patterndata, int offsetcnt)
863863{
864864   saturn_state *state = machine.driver_data<saturn_state>();
865
866   /* Capcom Collection Dai 4 uses a dummy polygon to clear VDP1 framebuffer that goes over our current max size ... */
867   if(x >= 1024 || y >= 512)
868      return;
869
865870   state->m_vdp1.framebuffer_draw_lines[y][x] = stv2_current_sprite.CMDCOLR;
866871}
867872

Previous 15994 Revisions Next


© 1998-2018 The MESS Team