Skip to content

Commit

Permalink
[libromdata] CdiReader::openIsoRomData(): Pregap length adjustment is…
Browse files Browse the repository at this point in the history
…n't needed here.

It's only needed when parsing directories.

The reason why ISO PVD wasn't showing up for CDI images is because
I forgot to add track 2 fallback to Dreamcast::loadFieldData().
The MultiTrackSparseDiscReader commit added it, so now it works.
  • Loading branch information
GerbilSoft committed Oct 12, 2024
1 parent 2b80c01 commit 51097df
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/libromdata/disc/CdiReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,6 @@ ISOPtr CdiReader::openIsoRomData(int trackNumber)
return nullptr;
}

// FIXME: Adjust for pregap_length?
PartitionFilePtr isoFile = std::make_shared<PartitionFile>(this->shared_from_this(),
static_cast<off64_t>(lba_start) * 2048,
static_cast<off64_t>(lba_size) * 2048);
Expand Down

0 comments on commit 51097df

Please sign in to comment.