Saturn: fix track offset for CHD

This commit is contained in:
Sergiy Dvodnenko
2024-03-03 17:39:39 +02:00
parent 7e6231c768
commit 39e21237c1

View File

@@ -502,6 +502,8 @@ int satcdd_t::GetSectorOffsetByIndex(int tno, int idx) {
if (idx <= 0)
return 0;
else if (this->toc.chd_f && idx == 1)
return 0;
else
return this->toc.tracks[track].indexes[idx];
}