summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/gei.cpp
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2019-02-12 18:05:01 +0100
committer Ivan Vangelista <mesgnet@yahoo.it>2019-02-12 18:05:01 +0100
commita076b8d95d22ff7cae09b5234c7a524ecc1254fc (patch)
treeb65065901ae2dec65ee6f57b48816185e8774ceb /src/mame/drivers/gei.cpp
parentfebaed1aa75dcf2cf9c35a08fac80b9514638654 (diff)
volt_reg: removed MCFG macro (nw)
Diffstat (limited to 'src/mame/drivers/gei.cpp')
-rw-r--r--src/mame/drivers/gei.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mame/drivers/gei.cpp b/src/mame/drivers/gei.cpp
index 9f835ec7cc8..2a403be5089 100644
--- a/src/mame/drivers/gei.cpp
+++ b/src/mame/drivers/gei.cpp
@@ -1011,8 +1011,9 @@ MACHINE_CONFIG_START(gei_state::getrivia)
/* sound hardware */
SPEAKER(config, "speaker").front_center();
MCFG_DEVICE_ADD("dac", DAC_1BIT, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.99)
- MCFG_DEVICE_ADD("vref", VOLTAGE_REGULATOR, 0) MCFG_VOLTAGE_REGULATOR_OUTPUT(5.0)
- MCFG_SOUND_ROUTE(0, "dac", 1.0, DAC_VREF_POS_INPUT)
+ voltage_regulator_device &vref(VOLTAGE_REGULATOR(config, "vref", 0));
+ vref.set_output(5.0);
+ vref.add_route(0, "dac", 1.0, DAC_VREF_POS_INPUT);
MACHINE_CONFIG_END
MACHINE_CONFIG_START(gei_state::findout)