summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/ladybug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/ladybug.cpp')
-rw-r--r--src/mame/video/ladybug.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/video/ladybug.cpp b/src/mame/video/ladybug.cpp
index 0f72b78192b..3f2baa4148e 100644
--- a/src/mame/video/ladybug.cpp
+++ b/src/mame/video/ladybug.cpp
@@ -110,11 +110,11 @@ WRITE8_MEMBER(ladybug_state::ladybug_colorram_w)
m_bg_tilemap->mark_tile_dirty(offset);
}
-WRITE8_MEMBER(ladybug_state::ladybug_flipscreen_w)
+WRITE_LINE_MEMBER(ladybug_state::flipscreen_w)
{
- if (flip_screen() != (data & 0x01))
+ if (flip_screen() != state)
{
- flip_screen_set(data & 0x01);
+ flip_screen_set(state);
machine().tilemap().mark_all_dirty();
}
}