diff options
Diffstat (limited to 'src/mame/drivers/cbuster.cpp')
-rw-r--r-- | src/mame/drivers/cbuster.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/cbuster.cpp b/src/mame/drivers/cbuster.cpp index 67c8d2efc10..54b1c83bbf6 100644 --- a/src/mame/drivers/cbuster.cpp +++ b/src/mame/drivers/cbuster.cpp @@ -117,7 +117,7 @@ void cbuster_state::main_map(address_map &map) map(0x0bc002, 0x0bc003).portr("DSW"); map(0x0bc002, 0x0bc003).w(m_soundlatch, FUNC(generic_latch_8_device::write)).umask16(0x00ff).cswidth(16); map(0x0bc004, 0x0bc005).rw(FUNC(cbuster_state::prot_r), FUNC(cbuster_state::prot_w)); - map(0x0bc006, 0x0bc007).portr("COINS").lw16("irq_ack_w", [this](u16 data) { m_maincpu->set_input_line(4, CLEAR_LINE); }); + map(0x0bc006, 0x0bc007).portr("COINS").lw16(NAME([this] (u16 data) { m_maincpu->set_input_line(4, CLEAR_LINE); })); } @@ -292,8 +292,8 @@ void cbuster_state::twocrude(machine_config &config) m_deco_tilegen[0]->set_pf2_col_bank(0x20); m_deco_tilegen[0]->set_pf1_col_mask(0x0f); m_deco_tilegen[0]->set_pf2_col_mask(0x0f); - m_deco_tilegen[0]->set_bank1_callback(FUNC(cbuster_state::bank_callback), this); - m_deco_tilegen[0]->set_bank2_callback(FUNC(cbuster_state::bank_callback), this); + m_deco_tilegen[0]->set_bank1_callback(FUNC(cbuster_state::bank_callback)); + m_deco_tilegen[0]->set_bank2_callback(FUNC(cbuster_state::bank_callback)); m_deco_tilegen[0]->set_pf12_8x8_bank(0); m_deco_tilegen[0]->set_pf12_16x16_bank(1); m_deco_tilegen[0]->set_gfxdecode_tag("gfxdecode"); @@ -307,8 +307,8 @@ void cbuster_state::twocrude(machine_config &config) m_deco_tilegen[1]->set_pf2_col_bank(0x40); m_deco_tilegen[1]->set_pf1_col_mask(0x0f); m_deco_tilegen[1]->set_pf2_col_mask(0x0f); - m_deco_tilegen[1]->set_bank1_callback(FUNC(cbuster_state::bank_callback), this); - m_deco_tilegen[1]->set_bank2_callback(FUNC(cbuster_state::bank_callback), this); + m_deco_tilegen[1]->set_bank1_callback(FUNC(cbuster_state::bank_callback)); + m_deco_tilegen[1]->set_bank2_callback(FUNC(cbuster_state::bank_callback)); m_deco_tilegen[1]->set_pf12_8x8_bank(0); m_deco_tilegen[1]->set_pf12_16x16_bank(2); m_deco_tilegen[1]->set_gfxdecode_tag("gfxdecode"); |