mirror of
https://github.com/pevans/erc-c.git
synced 2024-12-21 08:30:55 +00:00
When encoded, the track size is larger than 4k
This commit is contained in:
parent
a970759bec
commit
67f943d891
@ -207,7 +207,7 @@ apple2_dd_position(apple2dd *drive)
|
||||
if (drive->data->size == _140K_) {
|
||||
int track_offset;
|
||||
|
||||
track_offset = (drive->track_pos % 2) * 4096;
|
||||
track_offset = (drive->track_pos % 2) * ENC_ETRACK;
|
||||
return track_offset + drive->sector_pos;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user