Reimplemented the READ SUBCHANNEL command for both ATAPI and SCSI.

This commit is contained in:
OBattler
2017-01-04 22:33:49 +01:00
parent a8bc5133ec
commit d2be2fcc81
6 changed files with 137 additions and 27 deletions

View File

@@ -11,6 +11,7 @@ typedef struct CDROM
int (*readtoc_raw)(uint8_t *b, int msf, int maxlen);
uint8_t (*getcurrentsubchannel)(uint8_t *b, int msf);
void (*read_capacity)(uint8_t *b);
void (*read_subchannel)(uint8_t *in_cdb, uint8_t *b);
void (*read_header)(uint8_t *in_cdb, uint8_t *b);
void (*read_disc_information)(uint8_t *b);
int (*read_track_information)(uint8_t *in_cdb, uint8_t *b);