summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/wd1000.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/wd1000.h')
-rw-r--r--src/devices/machine/wd1000.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/devices/machine/wd1000.h b/src/devices/machine/wd1000.h
index 52ba9b71955..e7386ee543b 100644
--- a/src/devices/machine/wd1000.h
+++ b/src/devices/machine/wd1000.h
@@ -107,11 +107,8 @@ private:
devcb_write_line m_intrq_cb, m_drq_cb;
- struct
- {
- harddisk_image_device *drive;
- uint16_t cylinder;
- } m_drives[4];
+ optional_device_array<harddisk_image_device, 4> m_drives;
+ uint16_t m_drive_cylinder[4];
uint16_t m_sector_base;