mirror of
https://github.com/holub/mame
synced 2025-06-02 19:06:43 +03:00
Small cleanup (no whatsnew)
This commit is contained in:
parent
ba0b21c8fb
commit
7f01dff571
@ -2117,11 +2117,11 @@ void ide_hdd_image_device::device_start()
|
|||||||
|
|
||||||
void ide_hdd_image_device::device_reset()
|
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)
|
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)
|
if (m_disk != NULL)
|
||||||
{
|
{
|
||||||
|
@ -131,8 +131,6 @@ typedef struct _ide_config ide_config;
|
|||||||
struct _ide_config
|
struct _ide_config
|
||||||
{
|
{
|
||||||
void (*interrupt)(device_t *device, int state);
|
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 */
|
const char *bmcpu; /* name of bus master CPU */
|
||||||
UINT32 bmspace; /* address space of bus master transfer */
|
UINT32 bmspace; /* address space of bus master transfer */
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user