Reworked the menus so they're more logically grouped;
Removed the lone Misc menu and mvoed Status to Settings; Added a SCSI CD-ROM option to the menu; Removed the atapi_cdrom_enabled option and replaced any usage of it with !scsi_cdrom_enabled; Disabling/enabling the CD-ROM drive is now separate from the drive's contents; The tertiary IDE controller now never gets enabled is the CD-ROM drive is either disabled or SCSI.
This commit is contained in:
10
src/ide.c
10
src/ide.c
@@ -629,10 +629,9 @@ void resetide(void)
|
||||
{
|
||||
ide_drives[d].packetstatus = 0xFF;
|
||||
|
||||
if ((atapi_cdrom_channel == d) && atapi_cdrom_enabled)
|
||||
if ((atapi_cdrom_channel == d) && cdrom_enabled && !scsi_cdrom_enabled)
|
||||
{
|
||||
if (cdrom_enabled)
|
||||
ide_drives[d].type = IDE_CDROM;
|
||||
ide_drives[d].type = IDE_CDROM;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -654,10 +653,9 @@ void resetide(void)
|
||||
{
|
||||
ide_drives[d].packetstatus = 0xFF;
|
||||
|
||||
if ((atapi_cdrom_channel == d) && atapi_cdrom_enabled)
|
||||
if ((atapi_cdrom_channel == d) && cdrom_enabled && !scsi_cdrom_enabled)
|
||||
{
|
||||
if (cdrom_enabled)
|
||||
ide_drives[d].type = IDE_CDROM;
|
||||
ide_drives[d].type = IDE_CDROM;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user