Pārlūkot izejas kodu

Only tell the user if action is needed.

Eric Helgeson 2 gadi atpakaļ
vecāks
revīzija
03cbd7461e
1 mainītis faili ar 1 papildinājumiem un 5 dzēšanām
  1. 1 5
      src/BlueSCSI_disk.cpp

+ 1 - 5
src/BlueSCSI_disk.cpp

@@ -742,11 +742,7 @@ bool scsiDiskOpenHDDImage(int target_idx, const char *filename, int scsi_id, int
         {
             // ROM is always contiguous, no need to log
         }
-        else if (img.file.contiguousRange(&sector_begin, &sector_end))
-        {
-            log("---- Image file is contiguous, SD card sectors ", (int)sector_begin, " to ", (int)sector_end);
-        }
-        else
+        else if (!img.file.contiguousRange(&sector_begin, &sector_end))
         {
             log("---- WARNING: file ", filename, " is not contiguous. This will increase read latency.");
         }