mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
formats/d88_dsk.cpp: relax track_count check to a warning
This commit is contained in:
parent
497c96789e
commit
26ea9181f4
1 changed files with 2 additions and 4 deletions
|
@ -480,10 +480,8 @@ bool d88_format::load(util::random_read &io, uint32_t form_factor, const std::ve
|
|||
int img_tracks, img_heads;
|
||||
image.get_maximal_geometry(img_tracks, img_heads);
|
||||
if (track_count > img_tracks)
|
||||
{
|
||||
osd_printf_error("d88: Floppy disk has too many tracks for this drive (floppy tracks=%d, drive tracks=%d).\n", track_count, img_tracks);
|
||||
return false;
|
||||
}
|
||||
osd_printf_warning("d88: Floppy disk has too many tracks for this drive (floppy tracks=%d, drive tracks=%d).\n", track_count, img_tracks);
|
||||
|
||||
if (head_count > img_heads)
|
||||
osd_printf_warning("d88: Floppy disk has excess of heads for this drive that will be discarded (floppy heads=%d, drive heads=%d).\n", head_count, img_heads);
|
||||
|
||||
|
|
Loading…
Reference in a new issue