Browse Source

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

Keir Fraser 4 năm trước cách đây
mục cha
commit
7a5f377073
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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