src/emu/machine/idectrl.c
| r14198 | r14199 | |
| 2027 | 2027 | device->siblingtag(hardtag_slave, config->slave); |
| 2028 | 2028 | } |
| 2029 | 2029 | |
| 2030 | | if (device->machine().device( hardtag_master.cstr() )) { |
| 2030 | if (config->master && device->machine().device( hardtag_master.cstr() )) { |
| 2031 | 2031 | if (!ide->drive[0].disk) |
| 2032 | 2032 | { |
| 2033 | 2033 | ide->drive[0].handle = device->machine().device<harddisk_image_device>(hardtag_master.cstr())->get_chd_file(); // should be config->master |
| r14198 | r14199 | |
| 2056 | 2056 | } |
| 2057 | 2057 | } |
| 2058 | 2058 | } |
| 2059 | | if (device->machine().device( hardtag_slave.cstr() )) { |
| 2059 | if (config->slave && device->machine().device( hardtag_slave.cstr() )) { |
| 2060 | 2060 | if (!ide->drive[1].disk) |
| 2061 | 2061 | { |
| 2062 | 2062 | ide->drive[1].handle = device->machine().device<harddisk_image_device>(hardtag_slave.cstr())->get_chd_file(); // should be config->master |