Previous 15994 Revisions Next

r11220 Sunday 17th April, 2011 at 17:25:09 UTC by Curt Coder
Fixed MSVC build.
[src/mess/formats]d88_dsk.c

src/mess/formats/d88_dsk.c
r11219r11220
277277
278278   floppy_image_read(floppy,header,0,D88_HEADER_LEN);
279279
280   if (0)
281   {
280#ifdef SPOT_DUPLICATES
282281      // there exist many .d88 files with same data and different headers and
283282      // this allows to spot duplicates, making easier to debug softlists.
284283      UINT32 temp_size = floppy_image_size(floppy);
285284      UINT8 tmp_copy[temp_size - D88_HEADER_LEN];
286285      floppy_image_read(floppy,tmp_copy,D88_HEADER_LEN,temp_size - D88_HEADER_LEN);
287286      printf("CRC16: %d\n", ccitt_crc16(0xffff, tmp_copy, temp_size - D88_HEADER_LEN));
288   }
289   
287#endif
288
290289   if(prot)
291290      *prot = header[0x1a];
292291   if(type)

Previous 15994 Revisions Next


© 1998-2018 The MESS Team