diff options
author | 2012-01-23 21:49:30 +0000 | |
---|---|---|
committer | 2012-01-23 21:49:30 +0000 | |
commit | afb7d8fb6a595531c75d898cbdba6f3cffffcab5 (patch) | |
tree | af1fdf2d2acd27b4eae9eb2ad45102039db7688a /src/lib/formats/mfi_dsk.c | |
parent | 2cad56dabbceaa7c7bb1cbe68e22b381a277beb4 (diff) |
floppy: Do specific UI handling [O. Galibert]
Diffstat (limited to 'src/lib/formats/mfi_dsk.c')
-rw-r--r-- | src/lib/formats/mfi_dsk.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/formats/mfi_dsk.c b/src/lib/formats/mfi_dsk.c index e4849587a17..1bfd2135413 100644 --- a/src/lib/formats/mfi_dsk.c +++ b/src/lib/formats/mfi_dsk.c @@ -95,9 +95,9 @@ int mfi_format::identify(io_generic *io, UINT32 form_factor) io_generic_read(io, &h, 0, sizeof(header)); if(memcmp( h.sign, sign, 16 ) == 0 && - h.cyl_count > 0 && h.cyl_count <= 84 && - h.head_count > 0 && h.head_count <= 2 && - h.form_factor == form_factor) + h.cyl_count <= 160 && + h.head_count <= 2 && + (!form_factor || h.form_factor == form_factor)) return 100; return 0; } |