From 3da02a7f640138022f9b93cf3655acfd4fc62c5e Mon Sep 17 00:00:00 2001 From: Ville Linde Date: Sat, 2 Jan 2016 17:05:02 +0200 Subject: [PATCH] tc0780fpa: swap buffers on command 0 (nw) --- src/mame/video/tc0780fpa.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/mame/video/tc0780fpa.cpp b/src/mame/video/tc0780fpa.cpp index c353137db96..9f9dab9b92f 100644 --- a/src/mame/video/tc0780fpa.cpp +++ b/src/mame/video/tc0780fpa.cpp @@ -185,6 +185,7 @@ void tc0780fpa_renderer::render(UINT16 *polygon_fifo, int length) printf("MAX Z %04x\n",polygon_fifo[ptr+5]); } + swap_buffers(); break; } @@ -493,10 +494,6 @@ WRITE16_MEMBER(tc0780fpa_device::poly_fifo_w) WRITE16_MEMBER(tc0780fpa_device::render_w) { - if (offset == 0) - { - m_renderer->swap_buffers(); - } } void tc0780fpa_device::draw(bitmap_ind16 &bitmap, const rectangle &cliprect)