Small cleanup (no whatsnew)

This commit is contained in:
Miodrag Milanovic 2012-02-09 10:59:11 +00:00
parent ba0b21c8fb
commit 7f01dff571
2 changed files with 2 additions and 4 deletions

View File

@ -2117,11 +2117,11 @@ void ide_hdd_image_device::device_start()
void ide_hdd_image_device::device_reset()
{
m_handle = subdevice<harddisk_image_device>("harddisk")->get_chd_file(); // should be config->master
m_handle = subdevice<harddisk_image_device>("harddisk")->get_chd_file();
if (m_handle)
{
m_disk = subdevice<harddisk_image_device>("harddisk")->get_hard_disk_file(); // should be config->master
m_disk = subdevice<harddisk_image_device>("harddisk")->get_hard_disk_file();
if (m_disk != NULL)
{

View File

@ -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 */
};