Added support up to 16 ID/LUN's

Corrected residual length, fixes Win95's buslogic driver that was not showing the CD drive.
This commit is contained in:
TC1995
2016-12-27 22:38:09 +01:00
parent f2b3035a56
commit 3f04c30ac0
4 changed files with 50 additions and 30 deletions

View File

@@ -174,7 +174,7 @@ int SectorLen;
extern uint8_t SCSIStatus;
extern uint8_t SCSIPhase;
extern int SCSICallback[7];
extern int SCSICallback[16];
extern uint8_t scsi_cdrom_id;
struct
@@ -253,7 +253,7 @@ struct
uint32_t CmdBufferLength;
int LunType;
uint32_t InitLength;
} SCSIDevices[7];
} SCSIDevices[16];
extern void SCSIReset(void);