ap2_dsk: Fix broken detection of dsk [O. Galibert]

This commit is contained in:
Olivier Galibert 2014-10-21 18:27:59 +02:00
parent 2eb20eddc1
commit 2d2afa9ed9

View File

@ -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;