浏览代码

Skip checking ROM on this platform hook for now.
There is an issue in the ImageBackingStore ROM read/seek.
Fixes: #53

Eric Helgeson 2 年之前
父节点
当前提交
e34aae28ff
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      lib/BlueSCSI_platform_RP2040/BlueSCSI_platform_config_hook.cpp

+ 5 - 0
lib/BlueSCSI_platform_RP2040/BlueSCSI_platform_config_hook.cpp

@@ -83,6 +83,11 @@ void platformConfigHook(image_config_t *img)
         debuglog("Skipping platformConfigHook due to DisableConfigHook");
         return;
     }
+    if(img->file.isRom())
+    {
+        debuglog("Skipping platformConfigHook on ROM Drive.");
+        return;
+    }
     if (img->quirks == S2S_CFG_QUIRKS_APPLE)
     {
         if(img->deviceType == S2S_CFG_FIXED)