mirror of
https://github.com/robmcmullen/atrcopy.git
synced 2025-02-13 00:33:28 +00:00
Removed sector size assumption of 128 bytes if non-standard disk image size
This commit is contained in:
parent
74ea705347
commit
c6ef73358a
@ -84,7 +84,6 @@ class AtrHeader(object):
|
||||
self.num_initial_sectors = 3
|
||||
else:
|
||||
self.image_size = size
|
||||
self.sector_size = 128
|
||||
initial_bytes = self.initial_sector_size * self.num_initial_sectors
|
||||
self.max_sectors = ((self.image_size - initial_bytes) / self.sector_size) + self.num_initial_sectors
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user