mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
Another mahoosive refactor: move away from using protos for the disk output in
favour of pod objects, which allows STL contains. Lots of shared_ptrs everywhere. Much simpler and more effective code. The reader works with one of the decoders; still have to do the rest of them and the encoders.
This commit is contained in:
@@ -113,8 +113,8 @@ public:
|
||||
std::unique_ptr<Sector>& sector = sectors.get(header.track, head, header.sector);
|
||||
sector.reset(new Sector);
|
||||
sector->status = Sector::OK;
|
||||
sector->logicalTrack = sector->physicalTrack = header.track;
|
||||
sector->logicalSide = sector->physicalSide = head;
|
||||
sector->logicalTrack = sector->physicalCylinder = header.track;
|
||||
sector->logicalSide = sector->physicalHead = head;
|
||||
sector->logicalSector = header.sector;
|
||||
sector->data = data;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user