From 7f01dff5715e4ce2711ffad2ad8a95ba19dc23f8 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Thu, 9 Feb 2012 10:59:11 +0000 Subject: [PATCH] Small cleanup (no whatsnew) --- src/emu/machine/idectrl.c | 4 ++-- src/emu/machine/idectrl.h | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) 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 */ };