mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
Rip out the old approach to soft sector remapping as it wasn't working.
This commit is contained in:
@@ -16,8 +16,13 @@ message FdiInputProto {}
|
||||
message D88InputProto {}
|
||||
message NFDInputProto {}
|
||||
|
||||
// NEXT_TAG: 14
|
||||
message ImageReaderProto {
|
||||
optional string filename = 1 [(help) = "filename of input sector image"];
|
||||
optional bool filesystem_sector_order = 13 [
|
||||
(help) = "read/write sector image in filesystem order",
|
||||
default = false ];
|
||||
|
||||
oneof format {
|
||||
ImgInputOutputProto img = 2;
|
||||
DiskCopyInputProto diskcopy = 3;
|
||||
|
||||
@@ -40,7 +40,7 @@ public:
|
||||
break;
|
||||
|
||||
auto& trackLayout = Layout::getLayoutOfTrack(track, side);
|
||||
for (int sectorId : trackLayout.logicalSectors)
|
||||
for (int sectorId : trackLayout.logicalSectorOrder)
|
||||
{
|
||||
Bytes data(trackLayout.sectorSize);
|
||||
inputFile.read((char*)data.begin(), data.size());
|
||||
|
||||
Reference in New Issue
Block a user