Previous 199869 Revisions Next

r23817 Thursday 20th June, 2013 at 12:38:41 UTC by smf
only build the identify buffer on the first reset, so patches made by the driver aren't lost if the device is reset. (nw)
[src/emu/machine]idehd.c

trunk/src/emu/machine/idehd.c
r23816r23817
13811381   m_handle = m_image->get_chd_file();
13821382   m_disk = m_image->get_hard_disk_file();
13831383
1384   if (m_disk != NULL)
1384   if (m_disk != NULL && !m_can_identify_device)
13851385   {
13861386      const hard_disk_info *hdinfo = hard_disk_get_info(m_disk);
13871387      if (hdinfo->sectorbytes == IDE_DISK_SECTOR_SIZE)

Previous 199869 Revisions Next


© 1997-2024 The MAME Team