Previous 199869 Revisions Next

r19063 Tuesday 20th November, 2012 at 07:37:44 UTC by O. Galibert
Yes, it *is* possible to have two errors in the same line (nw)
[src/lib/formats]imd_dsk.c

trunk/src/lib/formats/imd_dsk.c
r19062r19063
419419      static const int rates[3] = { 500000, 300000, 250000 };
420420      bool fm = mode < 3;
421421      int rate = rates[mode % 3];
422      int rpm = form_factor == floppy_image::FF_8 || (form_factor == floppy_image::FF_525 && rate >= 300) ? 360 : 300;
422      int rpm = form_factor == floppy_image::FF_8 || (form_factor == floppy_image::FF_525 && rate >= 300000) ? 360 : 300;
423423      int cell_count = (fm ? 1 : 2)*rate*60/rpm;
424424
425425      const UINT8 *snum = img+pos;

Previous 199869 Revisions Next


© 1997-2024 The MAME Team