Преглед изворни кода

edsk: Be more keen to clip extraneous data from Bad-CRC sectors.

Keir Fraser пре 4 година
родитељ
комит
7a5f377073
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      scripts/greaseweazle/image/edsk.py

+ 1 - 1
scripts/greaseweazle/image/edsk.py

@@ -370,7 +370,7 @@ class EDSK(Image):
 
                 # Some EDSK tracks with Bad CRC contain a raw dump following
                 # the DAM. This can usually be clipped.
-                if clippable > overhang:
+                if clippable and not bad_crc_clip_data:
                     bad_crc_clip_data = True
                     continue