summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/flstory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/flstory.cpp')
-rw-r--r--src/mame/video/flstory.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/video/flstory.cpp b/src/mame/video/flstory.cpp
index de6b1b5dce2..0ec9f74156f 100644
--- a/src/mame/video/flstory.cpp
+++ b/src/mame/video/flstory.cpp
@@ -101,13 +101,13 @@ VIDEO_START_MEMBER(flstory_state,victnine)
save_item(NAME(m_paletteram_ext));
}
-WRITE8_MEMBER(flstory_state::flstory_videoram_w)
+void flstory_state::flstory_videoram_w(offs_t offset, uint8_t data)
{
m_videoram[offset] = data;
m_bg_tilemap->mark_tile_dirty(offset / 2);
}
-WRITE8_MEMBER(flstory_state::flstory_palette_w)
+void flstory_state::flstory_palette_w(offs_t offset, uint8_t data)
{
if (offset & 0x100)
m_palette->write8_ext((offset & 0xff) + (m_palette_bank << 8), data);
@@ -115,7 +115,7 @@ WRITE8_MEMBER(flstory_state::flstory_palette_w)
m_palette->write8((offset & 0xff) + (m_palette_bank << 8), data);
}
-READ8_MEMBER(flstory_state::flstory_palette_r)
+uint8_t flstory_state::flstory_palette_r(offs_t offset)
{
if (offset & 0x100)
return m_paletteram_ext[(offset & 0xff) + (m_palette_bank << 8)];
@@ -123,7 +123,7 @@ READ8_MEMBER(flstory_state::flstory_palette_r)
return m_paletteram[(offset & 0xff) + (m_palette_bank << 8)];
}
-WRITE8_MEMBER(flstory_state::flstory_gfxctrl_w)
+void flstory_state::flstory_gfxctrl_w(uint8_t data)
{
m_gfxctrl = data;
@@ -136,12 +136,12 @@ WRITE8_MEMBER(flstory_state::flstory_gfxctrl_w)
m_palette_bank = (data & 0x20) >> 5;
}
-READ8_MEMBER(flstory_state::victnine_gfxctrl_r)
+uint8_t flstory_state::victnine_gfxctrl_r()
{
return m_gfxctrl;
}
-WRITE8_MEMBER(flstory_state::victnine_gfxctrl_w)
+void flstory_state::victnine_gfxctrl_w(uint8_t data)
{
m_gfxctrl = data;
@@ -151,7 +151,7 @@ WRITE8_MEMBER(flstory_state::victnine_gfxctrl_w)
flip_screen_set(data & 0x01);
}
-WRITE8_MEMBER(flstory_state::flstory_scrlram_w)
+void flstory_state::flstory_scrlram_w(offs_t offset, uint8_t data)
{
m_scrlram[offset] = data;
m_bg_tilemap->set_scrolly(offset, data);