Przeglądaj źródła

Remove duplicate CD-ROM SCSI CDB commands

CD-ROM commands 0xCD, 0xD8, 0xD9 had duplicate entries in
src/ZuluSCSI_cdrom.cpp. This commit removes them.
Morio 1 rok temu
rodzic
commit
7ac29f952e
1 zmienionych plików z 0 dodań i 24 usunięć
  1. 0 24
      src/ZuluSCSI_cdrom.cpp

+ 0 - 24
src/ZuluSCSI_cdrom.cpp

@@ -2321,30 +2321,6 @@ extern "C" int scsiCDRomCommand()
 
         doAppleD8(lba, blocks);
     }
-    else if (scsiDev.target->cfg->quirks == S2S_CFG_QUIRKS_APPLE
-            && command == 0xCD)
-    {
-        // vendor-specific command issued by the AppleCD Audio Player in
-        // response to fast-forward or rewind commands. Might be seek,
-        // might be reposition. Exact MSF value below is unknown.
-        //
-        // Byte 0: 0xCD
-        // Byte 1: 0x10 for rewind, 0x00 for fast-forward
-        // Byte 2: 0x00
-        // Byte 3: 'M' in hex
-        // Byte 4: 'S' in hex
-        // Byte 5: 'F' in hex
-        commandHandled = 0;
-    }
-    else if (scsiDev.target->cfg->quirks == S2S_CFG_QUIRKS_APPLE
-            && command == 0xD8)
-    {
-    }
-    else if (scsiDev.target->cfg->quirks == S2S_CFG_QUIRKS_APPLE
-            && command == 0xD9)
-    {
-    }
-
     else
     {
         commandHandled = 0;