summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/taitosj.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/taitosj.cpp')
-rw-r--r--src/mame/video/taitosj.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mame/video/taitosj.cpp b/src/mame/video/taitosj.cpp
index ed3b9081e95..09df075c62d 100644
--- a/src/mame/video/taitosj.cpp
+++ b/src/mame/video/taitosj.cpp
@@ -161,6 +161,13 @@ void taitosj_state::compute_draw_order()
}
}
+void taitosj_state::device_post_load()
+{
+ m_gfxdecode->gfx(0)->mark_all_dirty();
+ m_gfxdecode->gfx(1)->mark_all_dirty();
+ m_gfxdecode->gfx(2)->mark_all_dirty();
+ m_gfxdecode->gfx(3)->mark_all_dirty();
+}
void taitosj_state::video_start()
{
@@ -294,7 +301,7 @@ int taitosj_state::check_sprite_sprite_bitpattern(int sx1, int sy1, int which1,
}
// draw the sprites into separate bitmaps and check overlapping region
- m_sprite_layer_collbitmap1.fill(TRANSPARENT_PEN);
+ m_sprite_sprite_collbitmap1.fill(TRANSPARENT_PEN);
get_sprite_gfx_element(which1)->transpen(m_sprite_sprite_collbitmap1, m_sprite_sprite_collbitmap1.cliprect(),
m_spriteram[SPRITE_RAM_PAGE_OFFSET + offs1 + 3] & 0x3f,
0,