diff --git a/src/mame/video/namco_c123tmap.cpp b/src/mame/video/namco_c123tmap.cpp index 41768059e21..a5e25b2c19e 100644 --- a/src/mame/video/namco_c123tmap.cpp +++ b/src/mame/video/namco_c123tmap.cpp @@ -125,14 +125,14 @@ void namco_c123tmap_device::init_scroll(int flip) // 8 bit control with external } } -void namco_c123tmap_device::draw(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect, int pri, int prival) +void namco_c123tmap_device::draw(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect, int pri, int prival, int primask) { for (int i = 0; i < 6; i++) { // bit 3 : disable layer if ((m_tilemapinfo.control[0x20 / 2 + i] & 0x7) == pri) { - m_tilemapinfo.tmap[i]->draw(screen, bitmap, cliprect, 0, prival); + m_tilemapinfo.tmap[i]->draw(screen, bitmap, cliprect, 0, prival, primask); } } } /* draw */ diff --git a/src/mame/video/namco_c123tmap.h b/src/mame/video/namco_c123tmap.h index 28c5d6be021..ce1d8e5a613 100644 --- a/src/mame/video/namco_c123tmap.h +++ b/src/mame/video/namco_c123tmap.h @@ -39,7 +39,7 @@ public: void mark_all_dirty(void); void init_scroll(int flip); - void draw(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect, int pri, int prival = 0); + void draw(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect, int pri, int prival = 0, int primask = 0xff); protected: // device-level overrides diff --git a/src/mame/video/namcos1.cpp b/src/mame/video/namcos1.cpp index 74582311df2..af5c91be3a1 100644 --- a/src/mame/video/namcos1.cpp +++ b/src/mame/video/namcos1.cpp @@ -237,7 +237,7 @@ uint32_t namcos1_state::screen_update(screen_device &screen, bitmap_ind16 &bitma /* bit 3 disable */ for (int priority = 0; priority < 8; priority++) { - m_c123tmap->draw(screen, bitmap, new_clip, priority, priority); + m_c123tmap->draw(screen, bitmap, new_clip, priority, priority, 0); } draw_sprites(screen, bitmap, new_clip);