1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-22 08:16:42 +00:00

Slow walks further towards a functioning Spectrum.

This commit is contained in:
Thomas Harte
2021-03-18 10:18:17 -04:00
parent 5a1bda1d82
commit 97249b0edd
4 changed files with 109 additions and 5 deletions
@@ -9,6 +9,7 @@
#include "StaticAnalyser.hpp"
#include "../../../Storage/Tape/Parsers/Spectrum.hpp"
#include "Target.hpp"
namespace {
@@ -33,7 +34,7 @@ bool IsSpectrumTape(const std::shared_ptr<Storage::Tape::Tape> &tape) {
Analyser::Static::TargetList Analyser::Static::ZXSpectrum::GetTargets(const Media &media, const std::string &, TargetPlatform::IntType) {
TargetList destination;
auto target = std::make_unique<Target>(Machine::ZXSpectrum);
auto target = std::make_unique<Target>();
target->confidence = 0.5;
if(!media.tapes.empty()) {