summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/decocass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/decocass.cpp')
-rw-r--r--src/mame/video/decocass.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/mame/video/decocass.cpp b/src/mame/video/decocass.cpp
index 72c3684bb56..525713c6cfc 100644
--- a/src/mame/video/decocass.cpp
+++ b/src/mame/video/decocass.cpp
@@ -373,8 +373,8 @@ WRITE8_MEMBER(decocass_state::decocass_color_missiles_w )
}
/*
- * D0 - ??
- * D1 - ??
+ * D0 - bg paging
+ * D1 - bg paging
* D2 - ptn 1/2
* D3 - BKG ena
* D4 - center L on
@@ -742,14 +742,17 @@ uint32_t decocass_state::screen_update_decocass(screen_device &screen, bitmap_in
// LS148 @ 2B (DSP-8 board) sets pen priority
+ // priority 0: foreground - should be drawn last in some cases? what breaks with it here?
+ m_fg_tilemap->draw(screen, bitmap, cliprect, 0, 0);
+
// priority 1: sprites
draw_sprites(bitmap, cliprect, (m_color_center_bot >> 1) & 1, 0, 0, m_fgvideoram, 0x20);
// priority 2 & 3: missiles
draw_missiles(bitmap, cliprect, 1, 0, m_colorram, 0x20);
- // priority 4: foreground
- m_fg_tilemap->draw(screen, bitmap, cliprect, 0, 0);
+ // priority 4: foreground - drawing this here breaks Tornado and Pro Tennis and Mission X (priority vs boats)
+ //m_fg_tilemap->draw(screen, bitmap, cliprect, 0, 0);
return 0;
}