1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-07-16 12:29:01 +00:00

When encoded, the track size is larger than 4k

This commit is contained in:
Peter Evans 2018-02-03 21:18:07 -06:00
parent a970759bec
commit 67f943d891

View File

@ -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;
}