summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/barata.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/barata.cpp')
-rw-r--r--src/mame/drivers/barata.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/barata.cpp b/src/mame/drivers/barata.cpp
index 8372a6b53be..c635ef52099 100644
--- a/src/mame/drivers/barata.cpp
+++ b/src/mame/drivers/barata.cpp
@@ -316,7 +316,7 @@ MACHINE_CONFIG_START(barata_state::barata)
MCFG_MCS51_PORT_P2_OUT_CB(WRITE8(*this, barata_state, port2_w))
MCFG_MCS51_PORT_P3_OUT_CB(WRITE8(*this, barata_state, fpga_w))
- MCFG_DEFAULT_LAYOUT( layout_barata )
+ config.set_default_layout(layout_barata);
/* sound hardware */
SPEAKER(config, "speaker").front_center();