diff options
Diffstat (limited to 'src/devices/bus/cgenie/expansion/expansion.cpp')
-rw-r--r-- | src/devices/bus/cgenie/expansion/expansion.cpp | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/src/devices/bus/cgenie/expansion/expansion.cpp b/src/devices/bus/cgenie/expansion/expansion.cpp index 3a7665f7c2b..366b1513aca 100644 --- a/src/devices/bus/cgenie/expansion/expansion.cpp +++ b/src/devices/bus/cgenie/expansion/expansion.cpp @@ -30,8 +30,8 @@ DEFINE_DEVICE_TYPE(CG_EXP_SLOT, cg_exp_slot_device, "cg_exp_slot", "Colour Genie 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(*this, finder_base::DUMMY_TAG, -1), - m_io(*this, finder_base::DUMMY_TAG, -1), + m_program(nullptr), + m_io(nullptr), m_cart(nullptr), m_int_handler(*this), m_nmi_handler(*this), @@ -67,6 +67,24 @@ void cg_exp_slot_device::device_reset() { } +//------------------------------------------------- +// set_program_space - set address space we are attached to +//------------------------------------------------- + +void cg_exp_slot_device::set_program_space(address_space *program) +{ + m_program = program; +} + +//------------------------------------------------- +// set_io_space - set address space we are attached to +//------------------------------------------------- + +void cg_exp_slot_device::set_io_space(address_space *io) +{ + m_io = io; +} + //************************************************************************** // CARTRIDGE INTERFACE |