summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Ville Linde <villedevs@gmail.com>2016-01-02 17:05:02 +0200
committer Ville Linde <villedevs@gmail.com>2016-01-02 17:06:13 +0200
commit3da02a7f640138022f9b93cf3655acfd4fc62c5e (patch)
tree6341241ef665af461d126dc80e748af7b816b9bb /src
parent00f0c6d0d4087d8722772221870fbdaac2a2e7c8 (diff)
tc0780fpa: swap buffers on command 0 (nw)
Diffstat (limited to 'src')
-rw-r--r--src/mame/video/tc0780fpa.cpp5
1 files changed, 1 insertions, 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)