diff options
Diffstat (limited to 'src/lib/formats/ap_dsk35.c')
-rw-r--r-- | src/lib/formats/ap_dsk35.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/formats/ap_dsk35.c b/src/lib/formats/ap_dsk35.c index a94d76e95c2..2f6d4d8e292 100644 --- a/src/lib/formats/ap_dsk35.c +++ b/src/lib/formats/ap_dsk35.c @@ -1254,7 +1254,7 @@ const floppy_image_format_t::desc_e dc42_format::mac_gcr[] = { { SECTOR_LOOP_END }, { END }, }; - + bool dc42_format::load(io_generic *io, UINT32 form_factor, floppy_image *image) { @@ -1317,7 +1317,7 @@ UINT8 dc42_format::gb(const UINT8 *buf, int ts, int &pos, int &wrap) if(pos == ts) { pos = 0; wrap++; - } + } } return v; } @@ -1397,8 +1397,8 @@ bool dc42_format::save(io_generic *io, floppy_image *image) UINT8 tr = gcr6bw_tb[h[0]] | (v2 & 1 ? 0x40 : 0x00); UINT8 se = gcr6bw_tb[h[1]]; UINT8 si = v2 & 0x20 ? 1 : 0; - // UINT8 ds = v3 & 0x20 ? 1 : 0; - // UINT8 fmt = v3 & 0x1f; + // UINT8 ds = v3 & 0x20 ? 1 : 0; + // UINT8 fmt = v3 & 0x1f; UINT8 c1 = (tr^se^v2^v3) & 0x3f; UINT8 chk = gcr6bw_tb[h[4]]; if(chk == c1 && tr == track && si == head && se < nsect) { |