diff options
Diffstat (limited to 'src/mame/drivers/crgolf.cpp')
-rw-r--r-- | src/mame/drivers/crgolf.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mame/drivers/crgolf.cpp b/src/mame/drivers/crgolf.cpp index 6929217896f..b8317049bf5 100644 --- a/src/mame/drivers/crgolf.cpp +++ b/src/mame/drivers/crgolf.cpp @@ -485,11 +485,9 @@ MACHINE_CONFIG_START(crgolf_state::crgolf) mainlatch.q_out_cb<6>().set(FUNC(crgolf_state::screenb_enable_w)); mainlatch.q_out_cb<7>().set(FUNC(crgolf_state::screena_enable_w)); - MCFG_GENERIC_LATCH_8_ADD("soundlatch1") - MCFG_GENERIC_LATCH_DATA_PENDING_CB(INPUTLINE("audiocpu", INPUT_LINE_NMI)) + GENERIC_LATCH_8(config, "soundlatch1").data_pending_callback().set_inputline(m_audiocpu, INPUT_LINE_NMI); - MCFG_GENERIC_LATCH_8_ADD("soundlatch2") - MCFG_GENERIC_LATCH_DATA_PENDING_CB(INPUTLINE("maincpu", INPUT_LINE_NMI)) + GENERIC_LATCH_8(config, "soundlatch2").data_pending_callback().set_inputline(m_maincpu, INPUT_LINE_NMI); /* stride is technically 0x6000, but powers of 2 makes the memory map / address masking cleaner. */ |