diff --git a/src/emu/machine/idectrl.c b/src/emu/machine/idectrl.c index 2ec3a6b2bdc..d3399258a1a 100644 --- a/src/emu/machine/idectrl.c +++ b/src/emu/machine/idectrl.c @@ -2117,11 +2117,11 @@ void ide_hdd_image_device::device_start() void ide_hdd_image_device::device_reset() { - m_handle = subdevice("harddisk")->get_chd_file(); // should be config->master + m_handle = subdevice("harddisk")->get_chd_file(); if (m_handle) { - m_disk = subdevice("harddisk")->get_hard_disk_file(); // should be config->master + m_disk = subdevice("harddisk")->get_hard_disk_file(); if (m_disk != NULL) { diff --git a/src/emu/machine/idectrl.h b/src/emu/machine/idectrl.h index 8515717d66c..47c92ac511b 100644 --- a/src/emu/machine/idectrl.h +++ b/src/emu/machine/idectrl.h @@ -131,8 +131,6 @@ typedef struct _ide_config ide_config; struct _ide_config { void (*interrupt)(device_t *device, int state); - const char *master; /* name of master region (defaults to device tag) */ - const char *slave; /* name of slave region (defaults to NULL) */ const char *bmcpu; /* name of bus master CPU */ UINT32 bmspace; /* address space of bus master transfer */ };