diff options
Diffstat (limited to 'src/mame/drivers/pacland.cpp')
-rw-r--r-- | src/mame/drivers/pacland.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/pacland.cpp b/src/mame/drivers/pacland.cpp index 98b6a328c36..b22c3ec342d 100644 --- a/src/mame/drivers/pacland.cpp +++ b/src/mame/drivers/pacland.cpp @@ -206,20 +206,20 @@ void pacland_state::machine_start() save_item(NAME(m_mcu_irq_mask)); } -WRITE8_MEMBER(pacland_state::subreset_w) +void pacland_state::subreset_w(offs_t offset, uint8_t data) { int bit = !BIT(offset,11); m_mcu->set_input_line(INPUT_LINE_RESET, bit ? CLEAR_LINE : ASSERT_LINE); } -WRITE8_MEMBER(pacland_state::flipscreen_w) +void pacland_state::flipscreen_w(offs_t offset, uint8_t data) { int bit = !BIT(offset,11); flip_screen_set(bit); } -READ8_MEMBER(pacland_state::input_r) +uint8_t pacland_state::input_r(offs_t offset) { int shift = 4 * (offset & 1); int port = offset & 2; @@ -243,7 +243,7 @@ void pacland_state::led_w(uint8_t data) m_leds[1] = BIT(data, 4); } -WRITE8_MEMBER(pacland_state::irq_1_ctrl_w) +void pacland_state::irq_1_ctrl_w(offs_t offset, uint8_t data) { int bit = !BIT(offset, 11); m_main_irq_mask = bit; @@ -251,7 +251,7 @@ WRITE8_MEMBER(pacland_state::irq_1_ctrl_w) m_maincpu->set_input_line(0, CLEAR_LINE); } -WRITE8_MEMBER(pacland_state::irq_2_ctrl_w) +void pacland_state::irq_2_ctrl_w(offs_t offset, uint8_t data) { int bit = !BIT(offset, 13); m_mcu_irq_mask = bit; |