summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/apple1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/apple1.cpp')
-rw-r--r--src/mame/drivers/apple1.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mame/drivers/apple1.cpp b/src/mame/drivers/apple1.cpp
index a47e4cfa0e3..30df1743e6b 100644
--- a/src/mame/drivers/apple1.cpp
+++ b/src/mame/drivers/apple1.cpp
@@ -611,9 +611,8 @@ MACHINE_CONFIG_START(apple1_state::apple1)
m_pia->writepb_handler().set(FUNC(apple1_state::pia_display_w));
m_pia->cb2_handler().set(FUNC(apple1_state::pia_display_gate_w));
- MCFG_DEVICE_ADD(A1_BUS_TAG, A1BUS, 0)
- MCFG_A1BUS_CPU(m_maincpu)
- MCFG_DEVICE_ADD("exp", A1BUS_SLOT, 0, A1_BUS_TAG, apple1_cards, "cassette")
+ A1BUS(config, A1_BUS_TAG, 0).set_cputag(m_maincpu);
+ A1BUS_SLOT(config, "exp", 0, A1_BUS_TAG, apple1_cards, "cassette");
MCFG_SNAPSHOT_ADD("snapshot", apple1_state, apple1, "snp", 0)