Split off the Network configuration from Other peripherals in the Settings dialog and made PCap device configurable;

Overhauled the configuration files so that the global variables are now subdivided into sections;
Fixed CD-ROM MODE SENSE page 0x2A which was being incorrectly reported as not implemented, fixes among other things Rayman 1 and Spellcross: The Last Battle (both now see the CD-ROM and play CD Audio fine).
This commit is contained in:
OBattler
2017-05-17 21:56:31 +02:00
parent 34c08faf46
commit 1a9a55c35e
25 changed files with 1523 additions and 899 deletions

View File

@@ -1006,9 +1006,7 @@ buslogic_dev_present(uint8_t id, uint8_t lun)
if (scsi_cdrom_drives[id][lun] >= CDROM_NUM) return(0);
if (cdrom_drives[scsi_cdrom_drives[id][lun]].enabled &&
cdrom_drives[scsi_cdrom_drives[id][lun]].bus_type &&
(cdrom_drives[scsi_cdrom_drives[id][lun]].bus_mode & 2)) return(1);
if ((cdrom_drives[scsi_cdrom_drives[id][lun]].bus_type == 4)) return(1);
return(0);
}