Files

21 lines
517 B
C++

//
// BinaryDump.cpp
// Clock Signal
//
// Created by Thomas Harte on 28/08/2016.
// Copyright 2016 Thomas Harte. All rights reserved.
//
#include "BinaryDump.hpp"
#include "Storage/FileHolder.hpp"
using namespace Storage::Cartridge;
BinaryDump::BinaryDump(const std::filesystem::path &path) {
auto contents = Storage::contents_of(path);
segments_.emplace_back(
::Storage::Cartridge::Cartridge::Segment::UnknownAddress,
::Storage::Cartridge::Cartridge::Segment::UnknownAddress,
std::move(contents));
}