summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/gng.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/gng.cpp')
-rw-r--r--src/mame/video/gng.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/video/gng.cpp b/src/mame/video/gng.cpp
index be9f16d243b..5770e6ff1bd 100644
--- a/src/mame/video/gng.cpp
+++ b/src/mame/video/gng.cpp
@@ -62,26 +62,26 @@ void gng_state::video_start()
***************************************************************************/
-WRITE8_MEMBER(gng_state::gng_fgvideoram_w)
+void gng_state::gng_fgvideoram_w(offs_t offset, uint8_t data)
{
m_fgvideoram[offset] = data;
m_fg_tilemap->mark_tile_dirty(offset & 0x3ff);
}
-WRITE8_MEMBER(gng_state::gng_bgvideoram_w)
+void gng_state::gng_bgvideoram_w(offs_t offset, uint8_t data)
{
m_bgvideoram[offset] = data;
m_bg_tilemap->mark_tile_dirty(offset & 0x3ff);
}
-WRITE8_MEMBER(gng_state::gng_bgscrollx_w)
+void gng_state::gng_bgscrollx_w(offs_t offset, uint8_t data)
{
m_scrollx[offset] = data;
m_bg_tilemap->set_scrollx(0, m_scrollx[0] + 256 * m_scrollx[1]);
}
-WRITE8_MEMBER(gng_state::gng_bgscrolly_w)
+void gng_state::gng_bgscrolly_w(offs_t offset, uint8_t data)
{
m_scrolly[offset] = data;
m_bg_tilemap->set_scrolly(0, m_scrolly[0] + 256 * m_scrolly[1]);