Formats detected with size only should not have a confidence higher than 50 (nw)

This commit is contained in:
Olivier Galibert 2014-02-12 17:59:45 +00:00
parent 0b78c37106
commit be15b0b477

View File

@ -123,12 +123,12 @@ int ti99_sdf_format::identify(io_generic *io, UINT32 form_factor)
|| (file_size/92160==2)
|| (file_size/92160==4)
|| (file_size/92160==8)
|| (file_size/92160==16))) return 100;
|| (file_size/92160==16))) return 50;
// Formats with 16 sectors per track (rare)
if (((file_size % 163840)==0)
&& ( (file_size/163840==1)
|| (file_size/163840==2))) return 100;
|| (file_size/163840==2))) return 50;
logerror("Unrecognized disk image geometry\n");
return 0;