diff options
Diffstat (limited to 'src/devices/bus/cgenie/expansion/expansion.cpp')
-rw-r--r-- | src/devices/bus/cgenie/expansion/expansion.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/devices/bus/cgenie/expansion/expansion.cpp b/src/devices/bus/cgenie/expansion/expansion.cpp index ab7e083b84b..366b1513aca 100644 --- a/src/devices/bus/cgenie/expansion/expansion.cpp +++ b/src/devices/bus/cgenie/expansion/expansion.cpp @@ -16,7 +16,7 @@ // DEVICE DEFINITIONS //************************************************************************** -const device_type EXPANSION_SLOT = device_creator<expansion_slot_device>; +DEFINE_DEVICE_TYPE(CG_EXP_SLOT, cg_exp_slot_device, "cg_exp_slot", "Colour Genie Expansion Slot") //************************************************************************** @@ -24,11 +24,11 @@ const device_type EXPANSION_SLOT = device_creator<expansion_slot_device>; //************************************************************************** //------------------------------------------------- -// expansion_slot_device - constructor +// cg_exp - constructor //------------------------------------------------- -expansion_slot_device::expansion_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : - device_t(mconfig, EXPANSION_SLOT, "Expansion Slot", tag, owner, clock, "expansion_slot", __FILE__), +cg_exp_slot_device::cg_exp_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : + device_t(mconfig, CG_EXP_SLOT, tag, owner, clock), device_slot_interface(mconfig, *this), m_program(nullptr), m_io(nullptr), @@ -40,10 +40,10 @@ expansion_slot_device::expansion_slot_device(const machine_config &mconfig, cons } //------------------------------------------------- -// expansion_slot_device - destructor +// cg_exp_slot_device - destructor //------------------------------------------------- -expansion_slot_device::~expansion_slot_device() +cg_exp_slot_device::~cg_exp_slot_device() { } @@ -51,7 +51,7 @@ expansion_slot_device::~expansion_slot_device() // device_start - device-specific startup //------------------------------------------------- -void expansion_slot_device::device_start() +void cg_exp_slot_device::device_start() { // resolve callbacks m_int_handler.resolve_safe(); @@ -63,7 +63,7 @@ void expansion_slot_device::device_start() // device_reset - device-specific reset //------------------------------------------------- -void expansion_slot_device::device_reset() +void cg_exp_slot_device::device_reset() { } @@ -71,7 +71,7 @@ void expansion_slot_device::device_reset() // set_program_space - set address space we are attached to //------------------------------------------------- -void expansion_slot_device::set_program_space(address_space *program) +void cg_exp_slot_device::set_program_space(address_space *program) { m_program = program; } @@ -80,7 +80,7 @@ void expansion_slot_device::set_program_space(address_space *program) // set_io_space - set address space we are attached to //------------------------------------------------- -void expansion_slot_device::set_io_space(address_space *io) +void cg_exp_slot_device::set_io_space(address_space *io) { m_io = io; } @@ -91,19 +91,19 @@ void expansion_slot_device::set_io_space(address_space *io) //************************************************************************** //------------------------------------------------- -// device_expansion_interface - constructor +// device_cg_exp_interface - constructor //------------------------------------------------- -device_expansion_interface::device_expansion_interface(const machine_config &mconfig, device_t &device) : +device_cg_exp_interface::device_cg_exp_interface(const machine_config &mconfig, device_t &device) : device_slot_card_interface(mconfig, device) { - m_slot = dynamic_cast<expansion_slot_device *>(device.owner()); + m_slot = dynamic_cast<cg_exp_slot_device *>(device.owner()); } //------------------------------------------------- -// ~device_expansion_interface - destructor +// ~device_cg_exp_interface - destructor //------------------------------------------------- -device_expansion_interface::~device_expansion_interface() +device_cg_exp_interface::~device_cg_exp_interface() { } |