mirror of
https://github.com/robmcmullen/atrcopy.git
synced 2025-01-01 10:30:58 +00:00
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
Block a user