From 26ea9181f4e2ca8a225f6d6aff9ab846e1604787 Mon Sep 17 00:00:00 2001 From: angelosa Date: Fri, 20 Sep 2024 09:32:20 +0200 Subject: [PATCH] formats/d88_dsk.cpp: relax track_count check to a warning --- src/lib/formats/d88_dsk.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/lib/formats/d88_dsk.cpp b/src/lib/formats/d88_dsk.cpp index 26510dc8396..a7f4f9bb636 100644 --- a/src/lib/formats/d88_dsk.cpp +++ b/src/lib/formats/d88_dsk.cpp @@ -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);