summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/pet/cb2snd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/pet/cb2snd.cpp')
-rw-r--r--src/devices/bus/pet/cb2snd.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/devices/bus/pet/cb2snd.cpp b/src/devices/bus/pet/cb2snd.cpp
index fffbb70923e..17dfc72b30b 100644
--- a/src/devices/bus/pet/cb2snd.cpp
+++ b/src/devices/bus/pet/cb2snd.cpp
@@ -11,7 +11,6 @@
#include "emu.h"
#include "cb2snd.h"
-#include "sound/volt_reg.h"
#include "speaker.h"
@@ -30,8 +29,6 @@ void pet_userport_cb2_sound_device::device_add_mconfig(machine_config &config)
{
SPEAKER(config, "speaker").front_center();
DAC_1BIT(config, m_dac, 0).add_route(ALL_OUTPUTS, "speaker", 0.99);
- voltage_regulator_device &vref(VOLTAGE_REGULATOR(config, "vref"));
- vref.add_route(0, "dac", 1.0, DAC_VREF_POS_INPUT);
}
//**************************************************************************
@@ -58,7 +55,7 @@ void pet_userport_cb2_sound_device::device_start()
{
}
-DECLARE_WRITE_LINE_MEMBER( pet_userport_cb2_sound_device::input_m )
+void pet_userport_cb2_sound_device::input_m(int state)
{
m_dac->write(state);
}