mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
File system mapping now sort of works in the filesystem, but there are
problems. These are potentially due to an incorrect Prodos mapping but I'm not sure.
This commit is contained in:
@@ -69,8 +69,10 @@ public:
|
||||
* populate any non-changed sectors as we can only write a track at
|
||||
* a time. */
|
||||
|
||||
if (!imageContainsAllSectorsOf(
|
||||
_changedSectors, track, side, trackLayout.logicalSectorOrder))
|
||||
if (!imageContainsAllSectorsOf(_changedSectors,
|
||||
track,
|
||||
side,
|
||||
trackLayout.logicalSectorOrder))
|
||||
{
|
||||
/* If we don't have any loaded sectors for this track, pre-read
|
||||
* it. */
|
||||
|
||||
@@ -169,7 +169,7 @@ Filesystem::Filesystem(std::shared_ptr<SectorInterface> sectors):
|
||||
Error() << "FS: filesystem support cannot be used without concrete "
|
||||
"layout information";
|
||||
|
||||
for (int sectorId : trackLayout.logicalSectorOrder)
|
||||
for (int sectorId : trackLayout.filesystemSectorOrder)
|
||||
_locations.push_back(std::make_tuple(track, side, sectorId));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user