diff options
Diffstat (limited to 'src/devices/machine/i8255.cpp')
-rw-r--r-- | src/devices/machine/i8255.cpp | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/devices/machine/i8255.cpp b/src/devices/machine/i8255.cpp index 0b6182500b9..d771c9d1468 100644 --- a/src/devices/machine/i8255.cpp +++ b/src/devices/machine/i8255.cpp @@ -260,8 +260,8 @@ inline int i8255_device::port_c_upper_mode() // i8255_device - constructor //------------------------------------------------- -i8255_device::i8255_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) - : device_t(mconfig, I8255, tag, owner, clock), +i8255_device::i8255_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_in_pa_cb(*this), m_in_pb_cb(*this), m_in_pc_cb(*this), @@ -275,6 +275,11 @@ i8255_device::i8255_device(const machine_config &mconfig, const char *tag, devic m_control = 0; } +i8255_device::i8255_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) + : i8255_device(mconfig, I8255, tag, owner, clock) +{ +} + //------------------------------------------------- // device_start - device-specific startup //------------------------------------------------- @@ -1022,8 +1027,9 @@ WRITE_LINE_MEMBER( i8255_device::pc6_w ) // AMS40489 (Amstrad Plus/GX4000 ASIC PPI implementation) ams40489_ppi_device::ams40489_ppi_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) - : i8255_device(mconfig,tag,owner,clock) -{} + : i8255_device(mconfig,AMS40489_PPI,tag,owner,clock) +{ +} void ams40489_ppi_device::device_reset() { i8255_device::device_reset(); } |