From 2d2afa9ed9a025c6de6e8f9ebf9f714d382baea0 Mon Sep 17 00:00:00 2001 From: Olivier Galibert Date: Tue, 21 Oct 2014 18:27:59 +0200 Subject: ap2_dsk: Fix broken detection of dsk [O. Galibert] --- src/lib/formats/ap2_dsk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/formats/ap2_dsk.c b/src/lib/formats/ap2_dsk.c index 8293ee9e565..786250d071c 100644 --- a/src/lib/formats/ap2_dsk.c +++ b/src/lib/formats/ap2_dsk.c @@ -563,9 +563,9 @@ int a2_16sect_format::identify(io_generic *io, UINT32 form_factor) UINT32 expected_size = 35 * 16 * 256; // check standard size plus some oddball sizes in our softlist - if ((size = expected_size) || (size == 143403) || (size == 143363) || (size == 143358)) + if ((size == expected_size) || (size == 143403) || (size == 143363) || (size == 143358)) { - return 1; + return 50; } return 0; -- cgit v1.2.3