mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
Distinguish between filesystem track ordering and image track ordering
(although currently only the filesystem ordering is used).
This commit is contained in:
@@ -128,7 +128,7 @@ class CbmfsFilesystem : public Filesystem
|
||||
usedBlocks = 0;
|
||||
unsigned block = 0;
|
||||
for (int track = 0; track < globalConfig()->layout().tracks();
|
||||
track++)
|
||||
track++)
|
||||
{
|
||||
uint8_t blocks = br.read_8();
|
||||
uint32_t bitmap = br.read_le24();
|
||||
|
||||
@@ -160,8 +160,8 @@ Filesystem::Filesystem(std::shared_ptr<SectorInterface> sectors):
|
||||
"information");
|
||||
|
||||
unsigned block = 0;
|
||||
for (const auto& p :
|
||||
Layout::getTrackOrdering(layout.tracks(), layout.sides()))
|
||||
for (const auto& p : Layout::getTrackOrdering(
|
||||
layout.filesystem_track_order(), layout.tracks(), layout.sides()))
|
||||
{
|
||||
int track = p.first;
|
||||
int side = p.second;
|
||||
|
||||
Reference in New Issue
Block a user