2018-04-14 16:12:12 +00:00
|
|
|
//
|
|
|
|
// StaticAnalyser.cpp
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 14/04/2018.
|
|
|
|
// Copyright © 2018 Thomas Harte. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#include "StaticAnalyser.hpp"
|
2018-04-22 04:21:57 +00:00
|
|
|
#include "Target.hpp"
|
2018-04-14 16:12:12 +00:00
|
|
|
|
|
|
|
Analyser::Static::TargetList Analyser::Static::AppleII::GetTargets(const Media &media, const std::string &file_name, TargetPlatform::IntType potential_platforms) {
|
2018-04-22 04:21:57 +00:00
|
|
|
auto target = std::unique_ptr<Target>(new Target);
|
|
|
|
target->machine = Machine::AppleII;
|
|
|
|
target->media = media;
|
|
|
|
|
2018-04-24 04:14:45 +00:00
|
|
|
target->has_disk = !target->media.disks.empty();
|
|
|
|
|
2018-04-22 04:21:57 +00:00
|
|
|
TargetList targets;
|
|
|
|
targets.push_back(std::move(target));
|
|
|
|
return targets;
|
2018-04-14 16:12:12 +00:00
|
|
|
}
|