Previous 15994 Revisions Next

r7411 Wednesday 17th February, 2010 at 23:42:24 UTC by Firewave
[TI99] fixed typo in CRC check
[src/mess/formats]ti99_dsk.c

src/mess/formats/ti99_dsk.c
r7410r7411
12651265         /* Do we have a valid CRCs already? Then this image
12661266               already contains proper CRCs handling. Do not
12671267               recreate them. */
1268         if (track_data[i+5] != 0xf7 || track_data[i+5] != 0xf7)
1268         if (track_data[i+5] != 0xf7 || track_data[i+6] != 0xf7)
12691269            return FLOPPY_ERROR_SUCCESS;
12701270
12711271         crc = ccitt_crc16(0xffff, &track_data[i], 5);

Previous 15994 Revisions Next


© 1998-2018 The MESS Team