1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-16 22:28:57 +00:00
CLK/Storage/Disk/DiskImage/DiskImage.cpp
2017-09-22 22:39:23 -04:00

16 lines
354 B
C++

//
// DiskImage.cpp
// Clock Signal
//
// Created by Thomas Harte on 21/09/2017.
// Copyright © 2017 Thomas Harte. All rights reserved.
//
#include "DiskImage.hpp"
using namespace Storage::Disk;
int DiskImageHolderBase::get_id_for_track_at_position(unsigned int head, unsigned int position) {
return (int)(position * get_head_count() + head);
}