浏览代码

Leaving reference to a vendor-specific rewind/fast-forward command.

saybur 2 年之前
父节点
当前提交
713001e865
共有 1 个文件被更改,包括 15 次插入0 次删除
  1. 15 0
      src/BlueSCSI_cdrom.cpp

+ 15 - 0
src/BlueSCSI_cdrom.cpp

@@ -1754,6 +1754,21 @@ extern "C" int scsiCDRomCommand()
         // expect a pickup move to the given LBA
         commandHandled = 0;
     }
+    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
     {
         commandHandled = 0;