mirror of
https://github.com/holub/mame
synced 2025-04-22 08:22:15 +03:00
Make image recognition more relaxing (no whatsnew)
This commit is contained in:
parent
69be631d8e
commit
4c196a9538
@ -346,7 +346,7 @@ FLOPPY_IDENTIFY(basicdsk_identify_default)
|
||||
expected_size *= geometry.heads;
|
||||
expected_size *= geometry.tracks;
|
||||
expected_size *= geometry.sectors;
|
||||
*vote = (floppy_image_size(floppy) == expected_size) ? 100 : 0;
|
||||
*vote = (floppy_image_size(floppy) == expected_size) ? 100 : 50;
|
||||
return FLOPPY_ERROR_SUCCESS;
|
||||
}
|
||||
|
||||
|
@ -154,7 +154,10 @@ static floperr_t floppy_open_internal(void *fp, const struct io_procs *procs, co
|
||||
|
||||
floppy->floppy_option = &floppy_options[best_option];
|
||||
}
|
||||
|
||||
if (best_vote != 100)
|
||||
{
|
||||
printf("Loading image that is not 100%% recognized\n");
|
||||
}
|
||||
err = FLOPPY_ERROR_SUCCESS;
|
||||
|
||||
done:
|
||||
|
Loading…
Reference in New Issue
Block a user