summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/galpani2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/galpani2.cpp')
-rw-r--r--src/mame/video/galpani2.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mame/video/galpani2.cpp b/src/mame/video/galpani2.cpp
index ec950a0a7b6..63bf9edb0b4 100644
--- a/src/mame/video/galpani2.cpp
+++ b/src/mame/video/galpani2.cpp
@@ -140,6 +140,10 @@ if (machine().input().code_pressed(KEYCODE_Z))
if (layers_ctrl & 0x1) copybg15(screen, bitmap, cliprect);
if (layers_ctrl & 0x2) copybg8(screen, bitmap, cliprect, 0);
if (layers_ctrl & 0x4) copybg8(screen, bitmap, cliprect, 1);
- if (layers_ctrl & 0x8) m_kaneko_spr->render_sprites(bitmap, cliprect, screen.priority(), m_spriteram, m_spriteram.bytes());
+ if (layers_ctrl & 0x8)
+ {
+ m_kaneko_spr->render_sprites(cliprect, m_spriteram, m_spriteram.bytes());
+ m_kaneko_spr->copybitmap(bitmap, cliprect, screen.priority());
+ }
return 0;
}