Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for incorrect response to READ_DVD_STRUCTURE #183

Merged
merged 2 commits into from
Oct 13, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions src/BlueSCSI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -663,12 +663,8 @@ void initFileLog(int success_mhz) {
case FAT_TYPE_EXFAT:
LOG_FILE.println("exFAT");
break;
case FAT_TYPE_FAT32:
LOG_FILE.print("FAT32");
case FAT_TYPE_FAT16:
LOG_FILE.print("FAT16");
default:
LOG_FILE.println(" - Consider formatting the SD Card with exFAT for improved performance.");
LOG_FILE.print("FAT 32/16/12 - Consider formatting the SD Card with exFAT for improved performance.");
}
LOG_FILE.print("SPI speed: ");
LOG_FILE.print(success_mhz);
Expand Down Expand Up @@ -1999,7 +1995,7 @@ static byte onReadDiscInformation(SCSI_DEVICE *dev, const byte *cdb)
static byte onReadDVDStructure(SCSI_DEVICE *dev, const byte *cdb)
{
dev->m_senseKey = SCSI_SENSE_ILLEGAL_REQUEST;
dev->m_additional_sense_code = SCSI_ASC_CANNOT_READ_MEDIUM_INCOMPATIBLE_FORMAT;
dev->m_additional_sense_code = SCSI_ASC_INVALID_OPERATION_CODE;
return SCSI_STATUS_CHECK_CONDITION;
}

Expand Down