From 76430f9bc8f8372c63eeeae0a0dca2e108ec5761 Mon Sep 17 00:00:00 2001 From: smf- Date: Wed, 8 Jun 2016 17:46:02 +0100 Subject: [PATCH] ever since https://github.com/mamedev/mame/commit/f0823886a66100e193d6eeb0402eb872a67fa07d the guess_chs() function adds dummy sectors to the image until it finds a valid CHS mapping, therefore the error can never be triggered (there is no exit condition on the outer loop) (nw) --- src/tools/chdman.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/tools/chdman.cpp b/src/tools/chdman.cpp index 1775fbb0ac8..e54d69b0c3e 100644 --- a/src/tools/chdman.cpp +++ b/src/tools/chdman.cpp @@ -962,9 +962,6 @@ static void guess_chs(std::string *filename, UINT64 filesize, int sectorsize, UI return; } } - - // ack, it didn't work! - report_error(1, "Can't guess CHS values because no logical combination works!"); }