Large changes to configuration files again (the old ones might break, be careful);
Applied the mainline PCem slight CPU emulation speedup commit; Added emulation of removable SCSI hard disks; CD-ROM image handler now uses C FILE's (with the 64-bit size calls) instead of C++ iostreams, ISO images bigger than 2 GB should work properly again; Split RLL/ESDI and XT IDE disks to their own bus types; Turned status bar pane meaning and hard disks and CD-ROM BUS numbers to #define's; Other miscellaneous cleanups.
This commit is contained in:
@@ -544,16 +544,17 @@ void secondary_ide_check()
|
||||
|
||||
for (i = 0; i < CDROM_NUM; i++)
|
||||
{
|
||||
if ((cdrom_drives[i].ide_channel >= 2) && (cdrom_drives[i].ide_channel <= 3) && !cdrom_drives[i].bus_type)
|
||||
if ((cdrom_drives[i].ide_channel >= 2) && (cdrom_drives[i].ide_channel <= 3) && ((cdrom_drives[i].bus_type == CDROM_BUS_ATAPI_PIO_ONLY) || (cdrom_drives[i].bus_type == CDROM_BUS_ATAPI_PIO_AND_DMA)))
|
||||
{
|
||||
secondary_cdroms++;
|
||||
}
|
||||
if (!secondary_cdroms) ide_sec_disable();
|
||||
}
|
||||
if (!secondary_cdroms) ide_sec_disable();
|
||||
}
|
||||
|
||||
void at_ali1429_init()
|
||||
{
|
||||
ali1429_reset();
|
||||
|
||||
at_ide_init();
|
||||
ali1429_init();
|
||||
|
||||
Reference in New Issue
Block a user