mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
apple2: fix regression using 35-track disks with the legacy floppy (nw)
This commit is contained in:
parent
2b0a51ea12
commit
0dba761f54
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ static FLOPPY_IDENTIFY(apple2_dsk_identify)
|
|||
size = floppy_image_size(floppy);
|
||||
expected_size = APPLE2_TRACK_COUNT * APPLE2_SECTOR_COUNT * APPLE2_SECTOR_SIZE;
|
||||
|
||||
if (size == expected_size)
|
||||
if ((size == expected_size) || (size == 35 * APPLE2_SECTOR_COUNT * APPLE2_SECTOR_SIZE))
|
||||
*vote = 100;
|
||||
else if ((size > expected_size) && ((size - expected_size) < 8))
|
||||
*vote = 90; /* tolerate images with up to eight fewer/extra bytes (bug #638) */
|
||||
|
|
Loading…
Reference in a new issue