summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Dirk Best <mail@dirk-best.de>2015-05-31 21:27:23 +0200
committer Dirk Best <mail@dirk-best.de>2015-05-31 21:50:47 +0200
commit22ee342634bd70a3203b38cd9c21bca3e33ad688 (patch)
tree9a08cdfb78e9b76afd81256aa8a1d72537518f6b
parent9ad081a91682af32b91e6a38f7c9005e2bb0a683 (diff)
flopimg: save all possible data sectors in fm mode
-rw-r--r--src/lib/formats/flopimg.c5
1 files 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;
}