Previous 15994 Revisions Next

r14199 Thursday 26th January, 2012 at 15:20:14 UTC by Miodrag Milanović
fixed idectrl regression (no whatsnew)
[src/emu/machine]idectrl.c

src/emu/machine/idectrl.c
r14198r14199
20272027      device->siblingtag(hardtag_slave, config->slave);
20282028   }
20292029
2030   if (device->machine().device( hardtag_master.cstr() )) {
2030   if (config->master && device->machine().device( hardtag_master.cstr() )) {
20312031      if (!ide->drive[0].disk)
20322032      {
20332033         ide->drive[0].handle = device->machine().device<harddisk_image_device>(hardtag_master.cstr())->get_chd_file();   // should be config->master
r14198r14199
20562056         }
20572057      }
20582058   }
2059   if (device->machine().device( hardtag_slave.cstr() )) {
2059   if (config->slave && device->machine().device( hardtag_slave.cstr() )) {
20602060      if (!ide->drive[1].disk)
20612061      {
20622062         ide->drive[1].handle = device->machine().device<harddisk_image_device>(hardtag_slave.cstr())->get_chd_file();   // should be config->master

Previous 15994 Revisions Next


© 1998-2018 The MESS Team