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 |
r23816 | r23817 | |
---|---|---|
1381 | 1381 | m_handle = m_image->get_chd_file(); |
1382 | 1382 | m_disk = m_image->get_hard_disk_file(); |
1383 | 1383 | |
1384 | if (m_disk != NULL) | |
1384 | if (m_disk != NULL && !m_can_identify_device) | |
1385 | 1385 | { |
1386 | 1386 | const hard_disk_info *hdinfo = hard_disk_get_info(m_disk); |
1387 | 1387 | if (hdinfo->sectorbytes == IDE_DISK_SECTOR_SIZE) |
Previous | 199869 Revisions | Next |