Previous 199869 Revisions Next

r23820 Thursday 20th June, 2013 at 14:19:49 UTC by smf
fixed issues that caused the hd to report that the diagnostics failed (nw)
[src/emu/machine]idehd.c
[src/mame/drivers]chihiro.c

trunk/src/mame/drivers/chihiro.c
r23819r23820
26922692
26932693void ide_baseboard_device::device_reset()
26942694{
2695   if (!m_can_identify_device)
2696   {
2697      m_num_cylinders=65535;
2698      m_num_sectors=255;
2699      m_num_heads=255;
2700      ide_build_identify_device();
2701      m_can_identify_device = 1;
2702   }
2703
26952704   ata_mass_storage_device::device_reset();
2696
2697   m_num_cylinders=65535;
2698   m_num_sectors=255;
2699   m_num_heads=255;
2700   ide_build_identify_device();
27012705}
27022706
27032707int ide_baseboard_device::read_sector(UINT32 lba, void *buffer)
trunk/src/emu/machine/idehd.c
r23819r23820
13761376
13771377void ide_hdd_device::device_reset()
13781378{
1379   ata_mass_storage_device::device_reset();
1380
13811379   m_handle = m_image->get_chd_file();
13821380   m_disk = m_image->get_hard_disk_file();
13831381
r23819r23820
14001398
14011399      m_can_identify_device = 1;
14021400   }
1401
1402   ata_mass_storage_device::device_reset();
14031403}
14041404
14051405//-------------------------------------------------

Previous 199869 Revisions Next


© 1997-2024 The MAME Team