Fixed off-by-one error reading sectors
This commit is contained in:
parent
216f31b173
commit
12c01f3345
|
@ -420,7 +420,7 @@ class AtrDiskImage(object):
|
|||
pos, size = self.header.get_pos(start)
|
||||
if end is None:
|
||||
end = start
|
||||
while start <= end:
|
||||
while start < end:
|
||||
start += 1
|
||||
_, more = self.header.get_pos(start)
|
||||
size += more
|
||||
|
|
Loading…
Reference in New Issue