| Previous | 15994 Revisions | Next |
| r5019 Sunday 14th June, 2009 at 09:44:41 UTC by Barry Rodewald |
|---|
| [FM7] Fixed handling of disks that didn't have 16 sectors per track. |
| [src/mess/formats] | fm7_dsk.c |
| r5018 | r5019 | |
|---|---|---|
| 96 | 96 | if(offset > tag->image_size) |
| 97 | 97 | return FLOPPY_ERROR_SEEKERROR; |
| 98 | 98 | |
| 99 | if(sector_index >= 16) | |
| 99 | floppy_image_read(floppy,sector_hdr,offset,16); | |
| 100 | ||
| 101 | if(sector_index >= sector_hdr[4]) | |
| 100 | 102 | return FLOPPY_ERROR_SEEKERROR; |
| 101 | 103 | |
| 102 | floppy_image_read(floppy,sector_hdr,offset,16); | |
| 103 | ||
| 104 | 104 | if(sector_length) |
| 105 | 105 | *sector_length = 256; |
| 106 | 106 | if(cylinder) |
| Previous | 15994 Revisions | Next |