adc0844: Preserve ADC0848 device type rather than throw it away (nw)

master
AJR 2017-11-08 14:31:42 -05:00
parent 3f798eb039
commit a91da6ab76
1 changed files with 4 additions and 4 deletions

View File

@ -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)
{
}