Skip to content

Commit

Permalink
Improve logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
TomHarte committed Jan 20, 2025
1 parent f449045 commit b7414aa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Machines/Commodore/Plus4/Plus4.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -726,6 +726,9 @@ class ConcreteMachine:
// MARK: - Confidence.
Analyser::Dynamic::ConfidenceCounter confidence_;
float get_confidence() final { return confidence_.get_confidence(); }
std::string debug_type() final {
return "Plus4";
}

// MARK: - Configuration options.
std::unique_ptr<Reflection::Struct> get_options() const final {
Expand Down
3 changes: 3 additions & 0 deletions Machines/Commodore/Vic-20/Vic20.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -768,6 +768,9 @@ class ConcreteMachine:
// MARK: - Confidence.
Analyser::Dynamic::ConfidenceCounter confidence_;
float get_confidence() final { return confidence_.get_confidence(); }
std::string debug_type() final {
return "Vic20";
}
};

}
Expand Down

0 comments on commit b7414aa

Please sign in to comment.