mirror of
https://github.com/holub/mame
synced 2025-04-25 01:40:16 +03:00
Merge pull request #6898 from 68bit/wd177x-dsk-permissive-of-missing-sectors
wd177x dsk: be permissive of some missing sectors in later tracks
This commit is contained in:
commit
2d3e086357
@ -460,7 +460,12 @@ void wd177x_format::check_compatibility(floppy_image *image, std::vector<int> &c
|
||||
}
|
||||
ns++;
|
||||
}
|
||||
if(ns != tf.sector_count)
|
||||
|
||||
if(ns > tf.sector_count)
|
||||
goto fail;
|
||||
|
||||
// Be permissive of some missing sectors in later tracks
|
||||
if(ns < tf.sector_count && track < 2)
|
||||
goto fail;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user