diff options
author | Olivier Galibert <galibert@pobox.com> | 2012-11-16 20:36:52 +0000 |
---|---|---|
committer | Olivier Galibert <galibert@pobox.com> | 2012-11-16 20:36:52 +0000 |
commit | 132e949f7fccadcaffe1204566a7f8668d2483ee (patch) | |
tree | 1bfe751ac1f33faa924638f43b65f6b645906a8e | |
parent | 00ded61d13051877896572d9ca7298c7b5428d00 (diff) |
Thanks Al (nw)
-rw-r--r-- | src/lib/formats/imd_dsk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/formats/imd_dsk.c b/src/lib/formats/imd_dsk.c index 15cbd672dd5..823746db9da 100644 --- a/src/lib/formats/imd_dsk.c +++ b/src/lib/formats/imd_dsk.c @@ -451,7 +451,7 @@ bool imd_format::load(io_generic *io, UINT32 form_factor, floppy_image *image) // Compute the available and expected size for gap3 int gap3 = form_factor == floppy_image::FF_8 ? 25 : - ssize < 512 ? + size < 512 ? (form_factor == floppy_image::FF_35 ? 54 : 50) : (form_factor == floppy_image::FF_35 ? 84 : 80); |