summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/coco_vhd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/coco_vhd.h')
-rw-r--r--src/mame/machine/coco_vhd.h16
1 files changed, 5 insertions, 11 deletions
diff --git a/src/mame/machine/coco_vhd.h b/src/mame/machine/coco_vhd.h
index dc436466bf7..a484584c9f6 100644
--- a/src/mame/machine/coco_vhd.h
+++ b/src/mame/machine/coco_vhd.h
@@ -24,12 +24,6 @@ class coco_vhd_image_device : public device_t,
{
public:
// construction/destruction
- template <typename T>
- coco_vhd_image_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock, T &&cpu_tag)
- : coco_vhd_image_device(mconfig, tag, owner, clock)
- {
- m_cpu.set_tag(std::forward<T>(cpu_tag));
- }
coco_vhd_image_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
virtual ~coco_vhd_image_device();
@@ -58,11 +52,11 @@ protected:
void coco_vhd_readwrite(uint8_t data);
private:
- required_device<cpu_device> m_cpu;
- address_space * m_cpu_space;
- uint32_t m_logical_record_number;
- uint32_t m_buffer_address;
- uint8_t m_status;
+ cpu_device * m_cpu;
+ address_space * m_cpu_space;
+ uint32_t m_logical_record_number;
+ uint32_t m_buffer_address;
+ uint8_t m_status;
};
// device type definition