mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-27 16:31:31 +00:00
0bf7de9d43
Many more warnings to iron out, however.
23 lines
584 B
C++
23 lines
584 B
C++
//
|
|
// StaticAnalyser.cpp
|
|
// Clock Signal
|
|
//
|
|
// Created by Thomas Harte on 14/04/2018.
|
|
// Copyright 2018 Thomas Harte. All rights reserved.
|
|
//
|
|
|
|
#include "StaticAnalyser.hpp"
|
|
#include "Target.hpp"
|
|
|
|
Analyser::Static::TargetList Analyser::Static::AppleII::GetTargets(const Media &media, const std::string &, TargetPlatform::IntType) {
|
|
auto target = std::make_unique<Target>();
|
|
target->media = media;
|
|
|
|
if(!target->media.disks.empty())
|
|
target->disk_controller = Target::DiskController::SixteenSector;
|
|
|
|
TargetList targets;
|
|
targets.push_back(std::move(target));
|
|
return targets;
|
|
}
|