summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/namco_c355spr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/namco_c355spr.cpp')
-rw-r--r--src/mame/video/namco_c355spr.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/mame/video/namco_c355spr.cpp b/src/mame/video/namco_c355spr.cpp
index 7a484d86973..42944cebafd 100644
--- a/src/mame/video/namco_c355spr.cpp
+++ b/src/mame/video/namco_c355spr.cpp
@@ -25,6 +25,7 @@ namco_c355spr_device::namco_c355spr_device(const machine_config &mconfig, const
device_video_interface(mconfig, *this),
m_palxor(0),
m_buffer(0),
+ m_external_prifill(false),
m_gfx_region(*this, DEVICE_SELF),
m_colbase(0)
{
@@ -452,9 +453,12 @@ void namco_c355spr_device::draw_sprites(screen_device &screen, BitmapClass &bitm
// int offs = spriteram16[0x18000/2]; /* end-of-sprite-list */
if (pri == 0)
{
- screen.priority().fill(0, cliprect);
- if (m_buffer == 0) // not buffered sprites
- get_sprites();
+ if (!m_external_prifill)
+ {
+ screen.priority().fill(0, cliprect);
+ if (m_buffer == 0) // not buffered sprites
+ get_sprites();
+ }
}
for (int no = 0; no < 2; no++)