summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/lwings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/lwings.cpp')
-rw-r--r--src/mame/drivers/lwings.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/lwings.cpp b/src/mame/drivers/lwings.cpp
index e6b80ef5e8e..149429aa548 100644
--- a/src/mame/drivers/lwings.cpp
+++ b/src/mame/drivers/lwings.cpp
@@ -1777,8 +1777,8 @@ ROM_END
void lwings_state::init_avengersb()
{
- /* set up protection handlers */
- m_maincpu->space(AS_PROGRAM).install_write_handler(0xf80c, 0xf80c, write8smo_delegate(FUNC(generic_latch_8_device::write), (generic_latch_8_device*)m_soundlatch));
+ // set up protection handlers
+ m_maincpu->space(AS_PROGRAM).install_write_handler(0xf80c, 0xf80c, write8smo_delegate(*m_soundlatch, FUNC(generic_latch_8_device::write)));
}