summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/matmania.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/matmania.cpp')
-rw-r--r--src/mame/drivers/matmania.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mame/drivers/matmania.cpp b/src/mame/drivers/matmania.cpp
index 534eb6fa618..7aeb9103371 100644
--- a/src/mame/drivers/matmania.cpp
+++ b/src/mame/drivers/matmania.cpp
@@ -39,7 +39,6 @@ The driver has been updated accordingly.
#include "sound/3526intf.h"
#include "sound/ay8910.h"
#include "sound/dac.h"
-#include "sound/volt_reg.h"
#include "speaker.h"
@@ -333,8 +332,7 @@ static MACHINE_CONFIG_START( matmania )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.3)
MCFG_SOUND_ADD("dac", DAC_8BIT_R2R, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.4) // unknown DAC
- MCFG_DEVICE_ADD("vref", VOLTAGE_REGULATOR, 0) MCFG_VOLTAGE_REGULATOR_OUTPUT(5.0)
- MCFG_SOUND_ROUTE_EX(0, "dac", 1.0, DAC_VREF_POS_INPUT) MCFG_SOUND_ROUTE_EX(0, "dac", -1.0, DAC_VREF_NEG_INPUT)
+ MCFG_SOUND_REFERENCE_INPUT(DAC_VREF_POS_INPUT, 1.0) MCFG_SOUND_REFERENCE_INPUT(DAC_VREF_NEG_INPUT, -1.0)
MACHINE_CONFIG_END
@@ -375,8 +373,7 @@ static MACHINE_CONFIG_START( maniach )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 1.0)
MCFG_SOUND_ADD("dac", DAC_8BIT_R2R, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 0.4) // unknown DAC
- MCFG_DEVICE_ADD("vref", VOLTAGE_REGULATOR, 0) MCFG_VOLTAGE_REGULATOR_OUTPUT(5.0)
- MCFG_SOUND_ROUTE_EX(0, "dac", 1.0, DAC_VREF_POS_INPUT) MCFG_SOUND_ROUTE_EX(0, "dac", -1.0, DAC_VREF_NEG_INPUT)
+ MCFG_SOUND_REFERENCE_INPUT(DAC_VREF_POS_INPUT, 1.0) MCFG_SOUND_REFERENCE_INPUT(DAC_VREF_NEG_INPUT, -1.0)
MACHINE_CONFIG_END