summaryrefslogtreecommitdiffstatshomepage
path: root/src/tools/chdman.cpp
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2016-06-08 17:46:02 +0100
committer smf- <smf-@users.noreply.github.com>2016-06-08 17:47:44 +0100
commit76430f9bc8f8372c63eeeae0a0dca2e108ec5761 (patch)
tree9107e2af0cdc825e2aa62ad70cbb771b8d21f015 /src/tools/chdman.cpp
parent05fcd2fb62eb6e58469fee2672ce8e147a1affbf (diff)
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)
Diffstat (limited to 'src/tools/chdman.cpp')
-rw-r--r--src/tools/chdman.cpp3
1 files changed, 0 insertions, 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!");
}