diff options
author | 2020-06-17 20:42:54 +0200 | |
---|---|---|
committer | 2020-06-17 20:42:54 +0200 | |
commit | 6dff78ed3ab09b83ac0aa8dc08dea227b07562a3 (patch) | |
tree | 92e33e37cb30e2b4f8829eb3dec8e7c8674b6bb4 /src/devices/video/topcat.cpp | |
parent | 247d71e1cabe101bd29adee2abc57fb86215a911 (diff) |
devices/machine, sound and video: removed read and write macros (nw)
Diffstat (limited to 'src/devices/video/topcat.cpp')
-rw-r--r-- | src/devices/video/topcat.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/video/topcat.cpp b/src/devices/video/topcat.cpp index da368d10339..79b679b8e77 100644 --- a/src/devices/video/topcat.cpp +++ b/src/devices/video/topcat.cpp @@ -70,7 +70,7 @@ void topcat_device::device_reset() m_pixel_replacement_rule = TOPCAT_REPLACE_RULE_SRC; } -READ16_MEMBER(topcat_device::vram_r) +uint16_t topcat_device::vram_r(offs_t offset, uint16_t mem_mask) { uint16_t ret = 0; @@ -83,7 +83,7 @@ READ16_MEMBER(topcat_device::vram_r) return ret; } -WRITE16_MEMBER(topcat_device::vram_w) +void topcat_device::vram_w(offs_t offset, uint16_t data, uint16_t mem_mask) { if (mem_mask & m_plane_mask && (m_fb_write_enable & (m_plane_mask << 8))) { bool src = data & m_plane_mask; @@ -243,7 +243,7 @@ void topcat_device::update_int() m_int_write_func((m_wmove_intrq || m_vert_retrace_intrq) ? ASSERT_LINE : CLEAR_LINE); } -READ16_MEMBER(topcat_device::ctrl_r) +uint16_t topcat_device::ctrl_r(address_space &space, offs_t offset, uint16_t mem_mask) { if (!m_read_enable) return 0; @@ -338,7 +338,7 @@ READ16_MEMBER(topcat_device::ctrl_r) return ret; } -WRITE16_MEMBER(topcat_device::ctrl_w) +void topcat_device::ctrl_w(address_space &space, offs_t offset, uint16_t data, uint16_t mem_mask) { data &= mem_mask; |