diff options
Diffstat (limited to 'src/lib/formats')
| -rw-r--r-- | src/lib/formats/flopimg.c | 2 | ||||
| -rw-r--r-- | src/lib/formats/jvc_dsk.c | 2 | ||||
| -rw-r--r-- | src/lib/formats/svi_dsk.c | 3 | ||||
| -rw-r--r-- | src/lib/formats/trs80_dsk.c | 4 | ||||
| -rw-r--r-- | src/lib/formats/vdk_dsk.c | 2 | ||||
| -rw-r--r-- | src/lib/formats/wd177x_dsk.c | 1 |
6 files changed, 6 insertions, 8 deletions
diff --git a/src/lib/formats/flopimg.c b/src/lib/formats/flopimg.c index 116edca5b1f..e2ee5122b2c 100644 --- a/src/lib/formats/flopimg.c +++ b/src/lib/formats/flopimg.c @@ -2565,7 +2565,7 @@ void floppy_image_format_t::extract_sectors_from_bitstream_fm_pc(const UINT8 *bi } // f8, f9, fa, fb if(shift_reg == 0xf56a || shift_reg == 0xf56b || - shift_reg == 0xf56e || shift_reg == 0xf56f) { // data mark + shift_reg == 0xf56e || shift_reg == 0xf56f) { // data mark if(dblk_count < 100) dblk[dblk_count++] = i+1; } diff --git a/src/lib/formats/jvc_dsk.c b/src/lib/formats/jvc_dsk.c index 20ee3508ee9..30ec8287f22 100644 --- a/src/lib/formats/jvc_dsk.c +++ b/src/lib/formats/jvc_dsk.c @@ -55,7 +55,7 @@ bool jvc_format::parse_header(io_generic *io, int &header_size, int &tracks, int switch (header_size) { - case 5: emu_fatalerror("jvc_format: sector attribute flag unsupported\n"); + case 5: emu_fatalerror("jvc_format: sector attribute flag unsupported\n"); break; case 4: base_sector_id = header[3]; // no break diff --git a/src/lib/formats/svi_dsk.c b/src/lib/formats/svi_dsk.c index 0c76aace591..aaa6a45e709 100644 --- a/src/lib/formats/svi_dsk.c +++ b/src/lib/formats/svi_dsk.c @@ -118,7 +118,7 @@ bool svi_format::save(io_generic *io, floppy_image *image) for (int head = 0; head < head_count; head++) { // skip track 0, head 0 - if (track == 0) { if (head_count == 1) break; else head++; } + if (track == 0) { if (head_count == 1) break; else head++; } generate_bitstream_from_track(track, head, 2000, bitstream, track_size, image); extract_sectors_from_bitstream_mfm_pc(bitstream, track_size, sectors, sector_data, sizeof(sector_data)); @@ -140,4 +140,3 @@ bool svi_format::supports_save() const } const floppy_format_type FLOPPY_SVI_FORMAT = &floppy_image_format_creator<svi_format>; - diff --git a/src/lib/formats/trs80_dsk.c b/src/lib/formats/trs80_dsk.c index acd122144d1..4a0a2bf5e49 100644 --- a/src/lib/formats/trs80_dsk.c +++ b/src/lib/formats/trs80_dsk.c @@ -8,8 +8,8 @@ Used by Jeff Vavasour's TRS-80 Emulators - TODO: - - Gap sizes unverified + TODO: + - Gap sizes unverified ***************************************************************************/ diff --git a/src/lib/formats/vdk_dsk.c b/src/lib/formats/vdk_dsk.c index 518d48ddd90..896815c26ad 100644 --- a/src/lib/formats/vdk_dsk.c +++ b/src/lib/formats/vdk_dsk.c @@ -102,7 +102,7 @@ bool vdk_format::save(io_generic *io, floppy_image *image) header[0] = 'd'; header[1] = 'k'; header[2] = sizeof(header) % 0x100; - header[3] = sizeof(header) / 0x100; + header[3] = sizeof(header) / 0x100; header[4] = 0x10; header[5] = 0x10; header[6] = 'M'; diff --git a/src/lib/formats/wd177x_dsk.c b/src/lib/formats/wd177x_dsk.c index 839b03b0dce..69458af0335 100644 --- a/src/lib/formats/wd177x_dsk.c +++ b/src/lib/formats/wd177x_dsk.c @@ -204,7 +204,6 @@ bool wd177x_format::load(io_generic *io, UINT32 form_factor, floppy_image *image for(int track=0; track < f.track_count; track++) for(int head=0; head < f.head_count; head++) { - if (f.encoding == floppy_image::FM) desc[14].p1 = get_track_dam_fm(f, head, track); else |
