diff options
author | Ivan Vangelista <mesgnet@yahoo.it> | 2020-05-26 19:14:55 +0200 |
---|---|---|
committer | Ivan Vangelista <mesgnet@yahoo.it> | 2020-05-26 19:14:55 +0200 |
commit | 5ab976b6794d2259225d10078e0b3246a11dd020 (patch) | |
tree | 90a65d31688e5a1b3f8f0dbeee983f317093088b /src/mame/drivers/chance32.cpp | |
parent | e7521df68ebdfd58e554c3896fbfba8067099625 (diff) |
drivers starting with b and c: some more macro removal (nw)
Diffstat (limited to 'src/mame/drivers/chance32.cpp')
-rw-r--r-- | src/mame/drivers/chance32.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mame/drivers/chance32.cpp b/src/mame/drivers/chance32.cpp index 201dab1aa6b..36e68425ba9 100644 --- a/src/mame/drivers/chance32.cpp +++ b/src/mame/drivers/chance32.cpp @@ -50,21 +50,21 @@ protected: virtual void video_start() override; private: - DECLARE_WRITE8_MEMBER(chance32_fgram_w) + void chance32_fgram_w(offs_t offset, uint8_t data) { m_fgram[offset] = data; m_fg_tilemap->mark_tile_dirty(offset / 2); } - DECLARE_WRITE8_MEMBER(chance32_bgram_w) + void chance32_bgram_w(offs_t offset, uint8_t data) { m_bgram[offset] = data; m_bg_tilemap->mark_tile_dirty(offset / 2); } - DECLARE_WRITE8_MEMBER(mux_w); - DECLARE_WRITE8_MEMBER(muxout_w); - DECLARE_READ8_MEMBER(mux_r); + void mux_w(uint8_t data); + void muxout_w(uint8_t data); + uint8_t mux_r(); TILE_GET_INFO_MEMBER(get_fg_tile_info); TILE_GET_INFO_MEMBER(get_bg_tile_info); @@ -127,12 +127,12 @@ uint32_t chance32_state::screen_update_chance32(screen_device &screen, bitmap_rg } -WRITE8_MEMBER(chance32_state::mux_w) +void chance32_state::mux_w(uint8_t data) { mux_data = data; } -READ8_MEMBER(chance32_state::mux_r) +uint8_t chance32_state::mux_r() { uint8_t res,i; const char *const muxnames[4] = { "IN0", "IN1", "IN2", "IN3" }; @@ -148,7 +148,7 @@ READ8_MEMBER(chance32_state::mux_r) } -WRITE8_MEMBER(chance32_state::muxout_w) +void chance32_state::muxout_w(uint8_t data) { /* Muxed Lamps |