| 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 |
| r12417 | r12418 | |
|---|---|---|
| 862 | 862 | static void drawpixel_poly(running_machine &machine, int x, int y, int patterndata, int offsetcnt) |
| 863 | 863 | { |
| 864 | 864 | 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 | ||
| 865 | 870 | state->m_vdp1.framebuffer_draw_lines[y][x] = stv2_current_sprite.CMDCOLR; |
| 866 | 871 | } |
| 867 | 872 |
| Previous | 15994 Revisions | Next |