mirror of
https://github.com/akuker/RASCSI.git
synced 2026-04-25 14:26:28 +00:00
Revert fixes for DEC vendor specific pages and CD-ROM block size changing (#1451)
* Revert "Don't ResizeCache on sector change if no filename is defined (#1438)" This reverts commitdd9a3296d4. * Revert "Add ModeSense page 0x25 (DEC special function control page) (#1412)" This reverts commit1121b8d9d6. * Revert "DiskCache needs a size" This reverts commit7cc8df271c. * Revert "Honor sector size change via ModeSelect6 in scsicd (#1406)" This reverts commitb7f65d33e2. * Revert "Multiple fixes for ModeSelect (#1405)" This reverts commitad5eae93e7.
This commit is contained in:
@@ -88,7 +88,7 @@ void SCSIMO::AddOptionPage(map<int, vector<byte>>& pages, bool) const
|
||||
// Do not report update blocks
|
||||
}
|
||||
|
||||
void SCSIMO::ModeSelect(scsi_command cmd, cdb_t cdb, span<const uint8_t> buf, int length)
|
||||
void SCSIMO::ModeSelect(scsi_command cmd, cdb_t cdb, span<const uint8_t> buf, int length) const
|
||||
{
|
||||
if (const string result = scsi_command_util::ModeSelect(cmd, cdb, buf, length, 1 << GetSectorSizeShiftCount());
|
||||
!result.empty()) {
|
||||
|
||||
Reference in New Issue
Block a user