fork of PCE focusing on macplus, supporting DaynaPort SCSI network emulation
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

psi/stx: Adjust the sector position correctly

Hampa Hug c433df17 6774616e

+5 -1
+5 -1
src/drivers/psi/psi-img-stx.c
··· 171 171 172 172 psi_trk_add_sector (trk, sct); 173 173 174 - psi_sct_set_position (sct, spos); 174 + if (spos > 176) { 175 + /* STX position is relative to the first byte after the ID */ 176 + psi_sct_set_position (sct, spos - 176); 177 + } 178 + 175 179 psi_sct_set_mfm_size (sct, n); 176 180 psi_sct_set_read_time (sct, (time + 2) / 4); 177 181