Direct3D video output. Fixed redraw when DirectDraw/Direct3D device is lost.

This commit is contained in:
TomW 2013-08-13 19:20:28 +01:00
commit 72f934d141
43 changed files with 528 additions and 192 deletions

View file

@ -834,11 +834,19 @@ void gd5429_speed_changed(void *p)
svga_recalctimings(&gd5429->svga);
}
void gd5429_force_redraw(void *p)
{
gd5429_t *gd5429 = (gd5429_t *)p;
gd5429->svga.fullchange = changeframecount;
}
device_t gd5429_device =
{
"Cirrus Logic GD5429",
gd5429_init,
gd5429_close,
gd5429_speed_changed,
gd5429_force_redraw,
svga_add_status_info
};