From 22ee342634bd70a3203b38cd9c21bca3e33ad688 Mon Sep 17 00:00:00 2001 From: Dirk Best Date: Sun, 31 May 2015 21:27:23 +0200 Subject: [PATCH] flopimg: save all possible data sectors in fm mode --- src/lib/formats/flopimg.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lib/formats/flopimg.c b/src/lib/formats/flopimg.c index 510f7d8c2d4..116edca5b1f 100644 --- a/src/lib/formats/flopimg.c +++ b/src/lib/formats/flopimg.c @@ -2563,8 +2563,9 @@ void floppy_image_format_t::extract_sectors_from_bitstream_fm_pc(const UINT8 *bi if(idblk_count < 100) idblk[idblk_count++] = i+1; } - // fb - if(shift_reg == 0xf56f) { // data mark + // f8, f9, fa, fb + if(shift_reg == 0xf56a || shift_reg == 0xf56b || + shift_reg == 0xf56e || shift_reg == 0xf56f) { // data mark if(dblk_count < 100) dblk[dblk_count++] = i+1; }