mirror of
https://github.com/robmcmullen/atrcopy.git
synced 2024-12-01 09:49:42 +00:00
Fixed typo in Atari DOS vtoc parsing
This commit is contained in:
parent
ae9a3e7f92
commit
1ab03e2612
@ -205,7 +205,7 @@ class AtariDosDiskImage(DiskImageBase):
|
||||
def calc_vtoc_code(self):
|
||||
# From AA post: http://atariage.com/forums/topic/179868-mydos-vtoc-size/
|
||||
num = 1 + (self.total_sectors + 80) / (self.header.sector_size * 8)
|
||||
if header.sector_size == 128:
|
||||
if self.header.sector_size == 128:
|
||||
if num == 1:
|
||||
code = 2
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user