summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2017-11-08 14:31:42 -0500
committer AJR <ajrhacker@users.noreply.github.com>2017-11-08 14:31:42 -0500
commita91da6ab76102281af40801ea13fdef967916f1f (patch)
treea543ffbd0d56fbff00f1d1c57243d81a846d6263
parent3f798eb0398547c8d73068e132c9e5b1e92ad83b (diff)
adc0844: Preserve ADC0848 device type rather than throw it away (nw)
-rw-r--r--src/devices/machine/adc0844.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/machine/adc0844.cpp b/src/devices/machine/adc0844.cpp
index 0c773c25022..02812b4b904 100644
--- a/src/devices/machine/adc0844.cpp
+++ b/src/devices/machine/adc0844.cpp
@@ -28,8 +28,8 @@ DEFINE_DEVICE_TYPE(ADC0848, adc0848_device, "adc0848", "ADC0848 A/D Converter")
// adc0844_device - constructor
//-------------------------------------------------
-adc0844_device::adc0844_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
- device_t(mconfig, ADC0844, tag, owner, clock),
+adc0844_device::adc0844_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock) :
+ device_t(mconfig, type, tag, owner, clock),
m_intr_cb(*this),
m_ch1_cb(*this), m_ch2_cb(*this), m_ch3_cb(*this), m_ch4_cb(*this),
m_conversion_timer(nullptr),
@@ -38,8 +38,8 @@ adc0844_device::adc0844_device(const machine_config &mconfig, const char *tag, d
{
}
-adc0844_device::adc0844_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock) :
- adc0844_device(mconfig, tag, owner, clock)
+adc0844_device::adc0844_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
+ adc0844_device(mconfig, ADC0844, tag, owner, clock)
{
}