diff options
author | Ivan Vangelista <mesgnet@yahoo.it> | 2020-05-18 16:42:55 +0200 |
---|---|---|
committer | Ivan Vangelista <mesgnet@yahoo.it> | 2020-05-18 16:42:55 +0200 |
commit | 4cde7dd08217aee98061f28a1ab263b3d4971418 (patch) | |
tree | 449d5556625a0242bca38326e2e90174e1d8bb09 /src/mame/drivers/statriv2.cpp | |
parent | 524846ad9dd92dd31b3c1175746d9ae53c7cd1da (diff) |
further macro removal work (nw)
Diffstat (limited to 'src/mame/drivers/statriv2.cpp')
-rw-r--r-- | src/mame/drivers/statriv2.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/statriv2.cpp b/src/mame/drivers/statriv2.cpp index 93180735078..30616b98abb 100644 --- a/src/mame/drivers/statriv2.cpp +++ b/src/mame/drivers/statriv2.cpp @@ -123,9 +123,9 @@ private: uint8_t m_latched_coin; uint8_t m_last_coin; - DECLARE_WRITE8_MEMBER(statriv2_videoram_w); - DECLARE_READ8_MEMBER(question_data_r); - DECLARE_WRITE8_MEMBER(ppi_portc_hi_w); + void statriv2_videoram_w(offs_t offset, uint8_t data); + uint8_t question_data_r(); + void ppi_portc_hi_w(uint8_t data); TILE_GET_INFO_MEMBER(horizontal_tile_info); TILE_GET_INFO_MEMBER(vertical_tile_info); @@ -203,7 +203,7 @@ VIDEO_START_MEMBER(statriv2_state,vertical) * *************************************/ -WRITE8_MEMBER(statriv2_state::statriv2_videoram_w) +void statriv2_state::statriv2_videoram_w(offs_t offset, uint8_t data) { m_videoram[offset] = data; m_tilemap->mark_tile_dirty(offset & 0x3ff); @@ -266,7 +266,7 @@ INTERRUPT_GEN_MEMBER(statriv2_state::tripdraw_interrupt) * *************************************/ -READ8_MEMBER(statriv2_state::question_data_r) +uint8_t statriv2_state::question_data_r() { const uint8_t *qrom = memregion("questions")->base(); uint32_t qromsize = memregion("questions")->bytes(); @@ -297,7 +297,7 @@ READ_LINE_MEMBER(statriv2_state::latched_coin_r) } -WRITE8_MEMBER(statriv2_state::ppi_portc_hi_w) +void statriv2_state::ppi_portc_hi_w(uint8_t data) { data >>= 4; if (data != 0x0f) |