From f212b185115bde220d51601981f611eb95685fa4 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Wed, 7 Mar 2018 14:25:25 -0500 Subject: [PATCH] Declares a confidence for the ColecoVision equal to the probability that the special bytes are wrong. --- Analyser/Static/Coleco/StaticAnalyser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Analyser/Static/Coleco/StaticAnalyser.cpp b/Analyser/Static/Coleco/StaticAnalyser.cpp index 5796034cf..acad40f72 100644 --- a/Analyser/Static/Coleco/StaticAnalyser.cpp +++ b/Analyser/Static/Coleco/StaticAnalyser.cpp @@ -55,7 +55,7 @@ static std::vector> void Analyser::Static::Coleco::AddTargets(const Media &media, std::vector> &destination) { std::unique_ptr target(new Target); target->machine = Machine::ColecoVision; - target->confidence = 0.5; + target->confidence = 1.0f - 1.0f / 32768.0f; target->media.cartridges = ColecoCartridgesFrom(media.cartridges); if(!target->media.empty()) destination.push_back(std::move(target));